Recursive variables still not possible?

Hi there,

we have a deployment task which deploys artifacts via maven and -Dversion=R${bamboo.repository.revision.number}. In all branches of that plan I would now like to overwrite that variable with the branch version, e.g. -Dversion=2.0.4

My first guess was, to put "R${bamboo.repository.revision.number}" into a plan variable called "version" and then overwrite it in the branches but it seems like the inner content of ${bamboo.version} isn't evaluated.

How could I solve that problem? Is it planned that variables can be used recursive/iterative? Maybe at least like in ant with ${version.@{subvariable}} ?

1 answer

1 accepted

There is an open improvement request to implement recusive expansion of variables. Please watch and vote for it :)

There should be another issue from me, 2 years ago about the same topic :(

Suggest an answer

Log in or Join to answer
Community showcase
Jason Wong
Published Tuesday in Agility Beta

Welcome to agility

Every team in the world is unique, and so   Atlassian believes   that each and every team's best way of working  needs to  be molded to their unique circumstances  – ...

398 views 6 16
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot