Does Bamboo support nested variables?

Assume we have a variable A=abc, is it possible to define a variable B=${bamboo.A}xyz?

5 answers

0 vote

Hello,

Thank you for your question.

Could you please let us know which Bamboo version are you running and where are you planning on using the nested variable, please?

Kind regards,
Rafael P. Sperafico
Atlassian Support

I haven't tried it, but:

 

https://marketplace.atlassian.com/plugins/net.collabsoft.plugins.bamboo.nestedVariables

 

If you look at the documentation on variables there are links on the subject.

 

Rafael, Bamboo ver 5.7.2. I am going to define some global variables, one of them is a version number or something, which is referenced by others.

Looks like the plugin mentioned by @Kendall Shaw is what I need. Thanks, @Kendall Shaw.

Just want to double confirm that, nested variables are not natively supported by Bamboo, right?

Ha, I could answer my own question. The answer is YES, see Bad+Substitution+in+nested+variables. The ticket BAM-8266 has been dormant there for 3 years!! 

 

Hi @Krystian Krystian , we can make do with hard coding the variable for now. Your suggestion is appreciated.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,561 views 0 6
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you