Missed Team ’24? Catch up on announcements here.

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

Setting branch variable in Bamboo only works for one of the branches

Jason Novotny April 18, 2017

Having a very weird error where I set a variable FOO=BAR in my branch called dev, but when I also add FOO=BAZ to my master branch, I do not see it in the script that gets executed as part of the build process.

 

Tried uploading screenshots but this wiki just doesn't seem to work well... file another internal community platform wiki error I suppose

1 answer

0 votes
Edwin Kyalangalilwa
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.
April 18, 2017
Jason Novotny April 18, 2017

Thanks! However I need this set based on the branch that runs since it invokes a deploy script.  I'll just pass in one of the defined bamboo vars instead into my deploy script.

Edwin Kyalangalilwa
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.
April 18, 2017

Ok. Good idea!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events