direct link to bamboo -> project -> plan's last success build's artifact files

ALİ OKAN YÜKSEL February 6, 2013

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

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

3 votes
Answer accepted
PiotrA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 6, 2013
PiotrA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 6, 2013
ALİ OKAN YÜKSEL February 6, 2013

it worked, thank you;)

ALİ OKAN YÜKSEL February 6, 2013

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?

TAGS
AUG Leaders

Atlassian Community Events