How do I set up Bamboo to build pull requests from Stash/Bitbucket Server?

This question is in reference to Atlassian Documentation: Integrating Bamboo with Bitbucket Server

Your documentation talks about how I can see the build status on commits and pull requests. While there is documentation on how to set up branch builds, theres no documentation about how to set up Bamboo to build only Pull Requests (in addition to master).

I'm currently running Stash v3.11.

2 answers

0 vote

Pull request is not a branch. It is the delta between the source and destination. You cannot create a build against that. I am afraid you will have to build the branch and rely on pull request code reviews to make sure the code is good to go!

Atleast that's what I have done so far. Would be interesting to see if there are other options or not.

There is a jenkins plugin that does exactly this, it's a huge pity that bamboo doesn't do this out of the box. You can also make bamboo do it with some manual git calls.

For more details see the answers in https://answers.atlassian.com/questions/188883

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

714 views 0 4
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot