title: Accessing Global Bamboo variables in inline shell script
body: <p>I am using Bamboo 5.6.2</p>
  
  <p>I am defining a plan global variable named "cd" and willing to access it as part of inline script task.</p>
  
  <p>I have tried</p>
  
  <pre><code>  echo $BAMBOO_CD
    echo `$BAMBOO_CD`
    echo "$BAMBOO_CD"
    echo $BAMBOO_cd
    echo `$BAMBOO_cd`
    echo "$BAMBOO_cd"
  </code></pre>
  
  <p>But none of them are printing anything. 
  I have already gone through <a href="https://confluence.atlassian.com/display/BAMBOO056/Defining+global+variables" rel="nofollow noreferrer">https://confluence.atlassian.com/display/BAMBOO056/Defining+global+variables</a> </p>
  
  <p>Appreciate pointers or an alternative way to define things globally.</p>
  
  <p>I do not have an option of upgrading Bamboo at this stage to use advanced features.</p>