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,363,279
Community Members
 
Community Events
168
Community Groups

Separate plan for building Pull Requests

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

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 

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events