Is there a way to have plan branches, but don't build the branch associated with the plan repo?

I have a plan for a repo.

I want to automatically run branches for feature/bugfix branches, but I don't want to run my plan for my develop branch (since that is done elsewhere).

Is there a way to have auto branches that are enabled (and, so, run), but not run for the repo branch?

1 answer

At work we have Bamboo setup to build everything except master, which for various reasons is handled by a different build server. This is easily accomplished with the automatic plan branching feature. You may specify which branches should automatically have plans created for them.

Here's the interesting quote from the documentation. Would something like (feature|bugfix)/.* work for you?

An example is: (branch1|branch2|branch3)/.*
See the Java documentation on regular expressions.

One important thing to note is that only NEW branches are automatically detected by Bamboo. Anything existing, like say a delveop or master branch, will not be considered. So sometimes you can simply get away with leaving the filter blank if you wan to build any new branches but not the existing branches. Similarly, if it does pick up a branch that you don't want included, simply delete it from Bamboo and it won't be added back.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Monday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

391 views 0 8
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