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

Change plan build directory

kryvel August 7, 2017

Hi!

Is it possilble to create new working directory for each build in Bamboo ?

Now it is ${bambooHome}/xml-data/build-dir/XXX-PLAN1-JOB1/

And I would like to get smth like 

${bambooHome}/xml-data/build-dir/XXX-PLAN1-JOB1/${bamboo.buildNumber} 

Thanks in advance!

 

 

2 answers

0 votes
kiran jonnalagadda August 15, 2017

before source code checkout task create a script task and create a directory using ${bamboo.buildNumber}

Then add source code checkout task and give path for source checkout

for eg:

${bamboo.build.working.directory}/${bamboo.buildNumber}

0 votes
Boris Berenberg - Atlas Authority
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.
August 7, 2017

I believe that to do this you would need to manage checkouts on your own using script tasks. Bamboo doesn't natively support this functionality.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events