You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Hello - I want to define an environment variable in bamboo so that certain tasks are completed during execution. How do I do this through the web interface? bamboo_run script is looking for the value of this variable and I want to set it to true instead of false so that it performs the task from within bamboo.
Hello @Karen West
Welcome to Atlassian Community!
The Inject Bamboo variables task allows you to read the values for variables from a file, and create those variables in your build plan.
The file should use a 'key=value' format. Note that starting from Bamboo version 5.14, you must provide relative paths to the property file.
You can choose if those variables should have a local scope (in which case they cease to exist when the job finishes) or result scope (in which case they are persisted and passed into subsequent stages or related deployment releases).
Then, after the variables are set you can configure a Conditional Task to evaluate the new variable and then proceed with its execution in case it matches.
Atlassian Support APAC
--please don't forget to Accept the answer if the reply is helpful--