Fast track hotfix branches through Stash and Bamboo

We've got a setup in which our master branch is always ready to release, and developers create temporary branches per JIRA for their fixes.  Master branch requires a pull request, and therefore nobody can push directly to it.  Pull requests currently require a successful branch build in Bamboo, as well as a peer-review, before we can merge into master branch (which Bamboo then builds and deploys).

I'd like to set Stash/Bamboo up so that a hotfix branch can be merged straight to master, which Bamboo builds tests and deploys without running a branch plan.  Is this possible?

I haven't been able to find a way to create an exception to the rule that requires pull requests for master branch.  Similarly, I'm not sure how to get Bamboo to ignore branches beginning /hotfix (there's no "Do not create plan branches matching" rule).

1 answer

0 votes

Hello @Richard Cross,

You can use regular expression to avoid creation of new branchesnew_branch_regexp.png

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Wednesday in Hipchat Cloud

Hipchat Cloud and Stride End of Life: Just over 90 days away

Earlier this year we made the difficult decision to discontinue our team messaging tools, Stride and Hipchat. The end of life date for Stride and Hipchat Cloud is quickly approaching - February 15, 2...

46 views 0 2
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