' + '字符文件了fail. When using a file spec to download, if the captured value contains a +, it will not be evaluated.
To reproduce:
1. Set up a freestyle jenkins job
2. Add Generic-Artifactory integration and add this download spec
{ "files": [ { "pattern": "paco/(foo/bar/TAO+ACE)/foo.txt", "target": "{1}/foo.txt", "flat": "true" } ] }
3. Create a repo 'paco' with the file foo/bar/TAO+ACE/foo.txt and foo/bar/TAO-ACE/foo.txt
4. Run the build and observe the failure
Successfully downloaded 'RESTRICTED_URL' to '/var/jenkins_home/workspace/paco/{1}/foo.txt'
5. Change the download spec to replace the '+' with a '-', notice that it works as expected
NOTE: Escaping with '/' does not work
- depends on
-
BI-434Placeholder replacement with '+' fails
- Resolved
A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved
- Resolved