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}} ?
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 :(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.