Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,368,846
Community Members
 
Community Events
168
Community Groups

Stop building branch when plan is created only on pull requests

Hello, 
we are using 7.1.2 bamboo. We have 2 plans. One is specific for PR-s and another is specific to Branches. The issues it that. Develop branch, which is the default branch on bamboo, keeps building on changes on PR plan and therefor fails.

how can I stop the default branch build on the Pull request plan?

I would change default branch to something else, but technically I don't want to have default branch. I want the plan to run only when pull request is created and be disabled otherwise.

1 answer

1 accepted

2 votes
Answer accepted

Disable the default branch. Disabling the default branch does not disable automatic branch detection and the branch build will still run.

the default branch doesn't appear on plan branches list :/

What I meant is you go to Plan configuration, click Actions, click "Disable plan". This disables the 'default branch' but does not disable all the other branches.

I think that worked. thanks alot!

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events