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

Accepted Answer
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
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...

419 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