Branch builds being triggered by default repository

I have a plan using our svn trunk and another branch of that plan in which I ,manually override the repository with a svn branch.

The problem is that branch builds are being triggered whenever any change is commited to the trunk as well as to the branch. How do I make the branch plan trigger only when a change has been commited to the trunk?

3 answers

1 accepted

1 vote

This should not happen. Either you have your branch misconfigured (for example it still references trunk because you have multiple repositories defined) or you found a bug.

Are you sure you don't have duplicate repository definition on your 'trunk' plan? Please verify and if you are still convinced that you got your plan right perhaps you should contact Atlassian Support. Bug reports posted there are handled much faster ;-)

I do have multiple repositories defined, but I am only able to override one in the branch plan. Is this a limitation in Bamboo?

Sounds like we should upgrade to 4.2. Thanks!

Yep, currently you can only override 1 repository (default) So if you have change detection on master plan configured to check more than 1 repo, branch will check them too.

However, in Bamboo 4.2 you have an option to override Build Strategy in Branches. Would that help?

I upgraded to 4.2, but it' still not clear how to do this. When I override the Build Strategy, it allows me to pick which repositories to poll, but includes the same repositories (sub-folders) off the trunk. Is there a way to automatically use the same folders, but have the branch as the root of these folders?

It seams that in Bamboo 4.3.3 branch build overrides only Default Plan Repository. Other plan repositories remain untouched. Why?

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
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,826 views 0 6
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