The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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

If you satisified with my answer please accept the answer/upvote my answer.

TAGS
AUG Leaders

Atlassian Community Events