Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

how to obtain the artifact directory of a plan? (bamboo v5.14)

P Palm December 21, 2016

 

The artifact folder created in bamboo v5.7.1 used to be:
~/bamboo-home/artifacts/FC-FB/shared/build-00002

In bamboo v5.14 the artifact folder appears be:
~/bamboo-home/artifacts/plan-27131907/shared/build-00002


During our builds, a script is referring to the artifact path, using the bamboo variable ${bamboo.planKey}.
But as you can see, the plankey is no longer a part of the artifact directory.

How can I correctly obtain the artifactory directory path from within a build plan script?
I can't find a variable that is matching the part 'plan-27131907'

Best regards,
Patrick

 

2 answers

1 accepted

0 votes
Answer accepted
rsperafico
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 22, 2016
0 votes
P Palm January 2, 2017

Thanks Rafael Sperafico,

That was the exact info I needed.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events