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.

https://confluence.atlassian.com/display/BAMBOO/Using+plan+branches

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 Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,077 views 0 5
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot