Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Recursive variables still not possible?

Maximilian Friedmann June 28, 2012

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

1 vote
Answer accepted
James Dumay
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 1, 2012

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

Maximilian Friedmann July 4, 2012

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events