default plan running twice in bamboo

Hello

I have a git repo that I have hooked up to Bamboo. I am using GitFlow so i'll use their terminology here.

I have a master branch which is default. I'd like this not to be the case but I am not sure I can change the default branch.

When I commit to master I end up with two builds running on bamboo. See attachment. If I commit on any other branch I just get the correct one build running. Do you know why?

Thanks

1 answer

1 accepted

1 vote

- you can point the 'main' plan in Bamboo to whatever git branch you want.

- it seems that you have 'main' plan set to master and at the same time there's a Plan Branch set to master as well. Both do change detection and both build. Simply go to Plan configuration, scroll down to Branches, find the one called 'master' and disable it. (alternatively set your main plan to the branch you really want it to point to)

Thanks Marcin, I'd like to change my main plan to solve this. How can I do that? I havent seen how to change the default plan. THanks for your reply!

Go to plan configuration, click on Repositories tab. There should be a list of repositories, select the first one (probably that's the only one you have)

Simply set the Branch text box to correct value. Press save. You might want to run a manual build afterwards to test that your edit is correct and to make sure that Bamboo's change detection will correctly pick up changes from the new branch.

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,096 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