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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Deployment version is not set by custom variable

Edited

Hello everyone. I'am trying to set deployment version from my custom variable. I see on the log that, the bamboo.deploy.version variable has been set as I need (using my custom value), but label is presentig different value.

My release versiong mask looks like:
release-11-${bamboo.variable.version}

What I am doing wrong?

 

scrn.png

1 answer

1 accepted

1 vote
Answer accepted

Where do you set the variable? In order for it to be visible during version creation it needs to be set as one of the following:

- global variable

- plan variable of the plan deployment project is associated with

- result variable of the  build result the version is created from

 

Setting it as deployment environment variable won't work, because the version is created first, then it is deployed to one or more environments.

That is the reason of problem - I was trying to inject variable value in deploy plan. I moved it to build plan and it works like charm - thank you.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center is here!

G’day Bamboo customers, The wait is over! Bamboo Data Center edition you have been asking for is finally here! This self-managed enterprise offering of Bamboo has the resilience, reliability, and s...

548 views 1 17
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you