Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to use Bamboo Variables in the linux session on the machine?

I wan to make use of bamboo Variables in the shell script available on my Linux Server where Bamboo is hosted. I have tried using ${} but this doesn't works.


Any help is greatly appreciated.



2 answers

1 accepted

1 vote
Answer accepted
robhit Atlassian Team Apr 05, 2018

Hi Edward,

Thanks for your question!

Try using this - ${bamboo_build_working_directory}

Explanation - When you want to use the Bamboo Variables in the session we have to replace the "." with "_"

So ${} -- Will be replaced with ==> ${bamboo_build_working_directory}

Hope this will help.


Yes, It works. Thanks!

You can list all the available shell variables by the "set" command. The bamboo variables start with the word "bamboo" so you can filter them:

set | grep ^bamboo

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Bamboo Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

213 views 0 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you