Environment variables in bamboo

Hi,

Quick question about how environment variables work in bamboo.

Here is our setup:

A task that runs a command gmake unitTest. In the Bamboo GUI, we have setup PATH=<path to="" a="" jvm=""> ;${system.Path};

In our makefile, we set PATH=<path to="" openssl=""> ;%PATH%.

My question is this: In our makefile, does %PATH% evaluate to the PATH that Bamboo sets(that is: PATH=<path to="" a="" jvm=""> ;${system.Path};) or does it evaluate to the PATH default to the system?

This unknown behavior is causing unit test failures and this is about the only behavior I am unsure about that could be causing the unit test failures.

1 answer

Hi Abhi

Did you try to check and set the variable settings in the Bamboo settings using the default feature? Following you can check the related doc:

https://confluence.atlassian.com/display/BAMBOO/Defining+global+variables

Cheers,

Paulo Renato

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 31m ago in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

13 views 0 1
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you