Reputation: 192
I am using Bamboo 5.6.2
I am defining a plan global variable named "cd" and willing to access it as part of inline script task.
I have tried
echo $BAMBOO_CD
echo `$BAMBOO_CD`
echo "$BAMBOO_CD"
echo $BAMBOO_cd
echo `$BAMBOO_cd`
echo "$BAMBOO_cd"
But none of them are printing anything. I have already gone through https://confluence.atlassian.com/display/BAMBOO056/Defining+global+variables
Appreciate pointers or an alternative way to define things globally.
I do not have an option of upgrading Bamboo at this stage to use advanced features.
Upvotes: 0
Views: 1934
Reputation: 34
if you declare dev as global variable . In inline script , you can access using $bamboo_dev
Upvotes: 1