I have a bamboo plan with two branches, br1 and br2.
currently, bamboo launches automatically every time there is a commit on the master branch, branch b1 and br2.
I don't want bamboo to launch automatically when there is a commit on branch br1 and br2, but I do not want bamboo to launch automatically when there is a commit on the master branch.
How to achieve this?
(bamboo allows to disables branches, but I don't see how to disable the master branch)
ps: I am aware that bamboo is a bad choice, and we are eventually moving to jenkins. however we still need to use bamboo for a while.
The same question has been asked on the Bamboo Q&A forum.
The current selected answer there is:
Andy Davidson:
"Ok so the answer that i found that works (in case anyone else is interested) is to insert the regular expression ^((?!master).)*$ into the "Only Create Branches that Match" field on the branch configuration tab"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With