Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

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

Atlassian Community Events