Create a bamboo variable with an embedded bamboo variable

James Youngman March 11, 2014

I am trying to define a variable "artifactUrl" with the follow value

http://localhost:8085/browse/TEST-TEST-${bamboo.buildNumber}

It does not resolve the build number.

I also tried this but no luck

http://localhost:8085/browse/TEST-TEST-%bamboo_buildNumber%

Any suggestions?

Thanks

1 answer

0 votes
Jason Monsorno
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.
March 11, 2014

You can't by default, the variables are only resolve once but you need it recursively. You may want to try the nested plugin.

James Youngman March 11, 2014

I tried that plugin but got the same results. :-(

James Youngman March 11, 2014

There seems to be something special about the variable bamboo.buildNumber

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events