Hello, I want to download last successful build's artifact files directly,
project name: test project
test project's plan name: test plan
test plan generates artifact files... when i try to fetch artifact file, there s a BUILD NUMBER in url (87).
For instance: http://192.168.1.99:8085/browse/TEST-PROJECT01-87/artifact/JOB1/test-server/test-1.0.tar.gz
For each build that number changes so it s not suitable for requirement that i need,
can i fetch tar-1.0.tar.gz file with a request like: http://192.168.1.99:8085/browse/TEST-PROJECT01-LASTSUCCESS-BUILD/artifact/JOB1/test-server/test-1.0.tar.gz ?
Best regards
Community moderators have prevented the ability to post new answers.
Hi Ali,
can you try http://192.168.1.99:8085/browse/TEST-PROJECT01/latest/artifact/JOB1/test-server/test-1.0.tar.gz and tell if it worked?
Please try http://192.168.1.99:8085/browse/TEST-PROJECT01/latestSuccessful/artifact/JOB1/test-server/test-1.0.tar.gz (and tell if it works) :)
cheers!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yes it worked but it fetchs "latest" build. if "latest" build is unsuccessful artifact file could be null for my situation, can i get latest-successful artifact file?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.