Separate plan for building Pull Requests

Rasti January 20, 2021

Hello,

we are using Bamboo 7.2.1 and were wondering if there is an option to create a build plan that only builds pull requests of a given repository. The thing is that a pull request build should not execute the maven deploy task, but only maven verify.

We make use of the built-in Bamboo feature to create plan branches when a pull request is created, the problem is, that we cannot distinguish within the plan, whether it is running for a branch or for the master.

Any help is really appreciated. 

Thanks

1 answer

1 accepted

1 vote
Answer accepted
Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 21, 2021

There's runtime variable which has branch name so you can check at some script task or task condition if it's master or dev branch. More details at https://confluence.atlassian.com/bamboo/bamboo-variables-289277087.html 

E-Rock October 20, 2022

Got a new link for this dead link?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events