I am given the tasks to stop certain team from pushing directly to particular branches: develop, system_2, system_3.
Those branches have code for different devices that shares the HW partially.
So build plan and build environment for develop is completely different (like different Linux distro) then system_2 and system 3.
They all have their respective build plans and it all works with commit detection etc.
Now I want (task given by higher power ;-)) to force them to start using pull requests and to configure everything in a way that the pull requests can be only made when:
- commit message links to JIRA (easy, done)
- proper credentials and author == committer (easy done)
- code on target branch will still builds after the merge - this is where I have a problem.
So I have 3 build plans:
- commit to develop
- commit to system_2
- commit to system_3
they do what they say they do. They are all set to branch when pull request is created.
Now when I create a brach: test, so some changes, push them and I am creating pull request from my branch test to system_2 (and my change is just this one commit, no other changes and I can see it is true when I am creating pull request), bamboo is triggering ALL 3 builds. system_2 build passes, other two fails.
How to I configure Bamboo and/or BitBucket that it only creates and runs the plan for the branch I am trying to merge to via this pull request?
Thanks in advance.
PS. At this point I am not allowed (yet?) to enforce changes in branch naming and/or separation of those branches to different repos.
I'm happy to announce that Bamboo 7.2 has been released and it’s overflowing with awesome new features. This will be the last major Server release before the launch of Bamboo DC. Bamboo logs We...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events