Reputation: 529
I'm using the jenkins generic plugin to upload to artifactory. I'm uploading each file to two places:
Now, the user, who is using Rest API to download the file from the latest directory (this way he always get the latest file), need to know to which build number it belongs to.
How do I know, using Rest API, to which build, this file belongs to?
Upvotes: 2
Views: 2226
Reputation: 529
I actually found the solution. by running this api:
It will return: "properties": { "build.number": [ "12000067" ] },
Upvotes: 3