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 12 hours ago in Statuspage

194 years of downtime: looking back on incident data from 2018

Statuspage customers logged more than 194 years of collective incidents in 2018. That’s a whopping 87% increase from the  104 years logged in 2017 , and we aren’t even through December yet....

27 views 1 5
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