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

Don't run Bamboo plan on master after a PR was merged

kopper
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 5, 2021

How to run Bamboo plan only after Pull Request was created but not after it was merged to master?

How to configure this in Bamboo Specs?

Context: We'd like to run different types of an analysis on Pull Request and on master, so I thought the best way to approach that would be to create two different plans and disable Pull Request Analysis plan on master branch. In order to enable Pull Request analysis we configure the following plan branch management

plan.planBranchManagement(new PlanBranchManagement()
.createForPullRequest()

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events