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
I am using Bamboo Specs YAML in the repository to build the plan for my repository. However whenever I create a branch, Bamboo builds the job.
Is there a way I can have a specify not build for any branches and run it only for master? (which is what I configured in linked repository)
How can I do this in yaml configuration or even any setting anywhere else.
I could think of two ways:
1. One way I could achieve this is to write a shell script and skip the code if branch is not master (it still executes)
2. have few things in environment variables and use them as parameters, so master build does always things in production and branches will be using a different configuration.