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 votes

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 Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

262 views 3 8
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