Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Stop building branch when plan is created only on pull requests

GreedyAI August 15, 2021

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
Marcin Gardias
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 16, 2021

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

GreedyAI August 16, 2021

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

Marcin Gardias
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 16, 2021

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.

GreedyAI August 16, 2021

I think that worked. thanks alot!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events