It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Thursday in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

116 views 0 10
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