Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Community showcase
Published in Bamboo

Bamboo Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

162 views 0 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you