Forums

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

Cannot get plan variable

Khoa Nguyen MInh October 28, 2013

I'm testing the evaluation of Bamboo system. I denfined a plan variable: bamboo_db_ipAddress. When I tried to echo this variable from build.xml, it seems to be I got the variable name, not the variable value. anyone can help me to figure it out?

uploaddb:
29-Oct-2013 15:46:11 [echo] db Ip address is: ${bamboo_db_ipAddress}

1 answer

1 accepted

0 votes
Answer accepted
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

Khoa Nguyen MInh October 30, 2013

I've found the reason. the variable name should be ${bamboo.db.ipAddress} instead of ${bamboo_db_ipAddress}. Actually, I imported the configuration from the earlier version of Bamboo system, and it still can work well with this kind of variable name in the earlier version.

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 you satisified with my answer please accept the answer/upvote my answer.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events