[HAP-865] Add to file spec the ability to download artifact by build name and number Created: 27/Dec/16  Updated: 08/Jul/17  Resolved: 18/Jan/17

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

Type: New Feature Priority: High
Reporter: Eyal Ben Moshe (Inactive) Assignee: Eyal Ben Moshe (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
depends on BI-393 Add to file spec the ability to downl... Resolved


This issue is oped to track the following feature, added to the build-info project:

Comment by Dima Nevelev (Inactive) [ 22/Jan/17 ]

New flag can be set in the download specs:
it should be set as following: "build":"buildName/buildNumber" (slash as a delimiter).
The buildNumber can be "LATEST" or "LAST_RELEASE".
Build number is optional. If no build number provided (case of "build":"buildName") the latest build will be downloaded.
If the build number contains slashes, backslash must be added as escape char

("build":"buildName/123\/4" will download the build number "123/4")

If the build name contains slashes, build number becomes mandatory.

Comment by Mike Delaney [ 07/Jul/17 ]

Are there any examples on how to do this?

Comment by Eyal Ben Moshe [ 08/Jul/17 ]

Here's a link to the File Specs documentation page:
The build property value format is build-name/build-number
Let me know if you need further help with this.

Generated at Wed Jun 03 01:00:21 UTC 2020 using Jira 8.5.3#805003-sha1:b4933e02eaff29a49114274fe59e1f99d9d963d7.