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

Why are my plan variables not replaced ?

Khoa Nguyen MInh October 30, 2013

I have defined a variable ${bamboo_db_ipAddress} in a plan. In one of the tasks, a command, I use the variable in the Arguments field like this : build.xml -Ddb.ipAddress=${bamboo_db_ipAddress}

However, the variable is not substituted with the value I pass when launching a parameterized run.

Am I doing something obviously wrong ?

2 answers

1 accepted

1 vote
Answer accepted
ssetayeshfar
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.
October 30, 2013

Hello Khoa,

For more information about defining and using variables in Bamboo, please check the following page:

https://confluence.atlassian.com/display/BAMBOO/Bamboo+variables

Best regards,

Sepideh

0 votes
rambabu patina
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.
October 30, 2013

I'm not sure if this was just a copy/paste error, you need to put 'bamboo' infront of the varaible name.

Like.. ${bamboo.bamboo_db_ipAddress}

Hope helps you

rambabu patina
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.
October 31, 2013

If problem resolved and satisified please accept my answer.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events