Add upload and download specs support to Jenkins generic jobs (HAP-823)

[HAP-830] Deploy path capture groups and placeholders not working on Windows Created: 24/Oct/16  Updated: 07/Nov/16  Resolved: 07/Nov/16

Status: Resolved
Project: Jenkins Artifactory Plug-in
Component/s: None
Affects Version/s: 2.7.2
Fix Version/s: 2.8.0

Type: Sub-task Priority: High
Reporter: Dima Nevelev (Inactive) Assignee: Dima Nevelev (Inactive)
Resolution: Fixed Votes: 0
Labels: None


 Description   

When using specs on Windows, placeholders not being replaced by the capture groups.
for example, the following upload spec:

       {
		"pattern": "sandbox/folder/(.*)/.*.pdb",
		"target": "repoplay/subfolder/dummy_pipeline_scn/142/pdb/{1}/",
		"flat": "true",
		"regexp": "true"
	} 

will produce the following path:

https://server/repoplay/subfolder/dummy_pipeline_scn/142/pdb/{1}/vc100.pdb

instead of:

https://server/repoplay/subfolder/dummy_pipeline_scn/142/pdb/captured_path/vc100.pdb

Generated at Tue Aug 11 17:01:34 UTC 2020 using Jira 8.5.3#805003-sha1:b4933e02eaff29a49114274fe59e1f99d9d963d7.