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

bamboo variable value contains variable

Jay Chang
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.
September 9, 2015

Can I define bamboo plan variable value contains other variables?  e.g.,

variable name        value
===========      ========
version                1.0.0
build                    2
release               ${bamboo.version}.${bamboo.build}     <-- is this valid?

Thanks!

1 answer

1 accepted

2 votes
Answer accepted
Steffen Opel _Utoolity_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 9, 2015

Even though this is an often requested feature since early 2011, and labelled as a small improvement only, such nested/recursive expansion of variables is still not available in Bamboo as of today, so you might want to watch/vote/comment on the resp. issue accordingly:

Depending on your specific scenario, you might be able to address your use case with the (commercial) Nested Variables for Bamboo add-on, which allows to Re-use variables and Unlimited nesting of variables:

There is no limit to the nesting of variables. The add-on will continue to replace nested variables until it can no longer find a correct value. [...]

However, as already mentioned in the issue, this add-on is only available for Bamboo Server due to 3rd party add-ons not being supported in Bamboo Cloud yet either. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events