Pull Requests in Bamboo or Jenkins

We would like to be able to test pull-requests  before the branch is merged into the master. We use both Bamboo and Jenkins in our company, but with Bamboo it seems there is no way to trigger and view pull-request builds (natively anyway). (I have read this question regarding Bitbucket and Bamboo.)

The image below shows what we would like to have: pull requests with a 'Builds' column to see whether they build or not. Is this in any way doable with Bitbucket and either Bamboo or Jenkins?



2 answers

1 accepted

1 vote

Bamboo 6 supports building pull requests. Just choose the PR workflow in "branches" tab for a plan.

Ah thanks! In that tab, I missed the 'Create plan branch' button, which was necessary to start the whole process...

Note - this capability was in a roundabout way, availble in versions of Bamboo prior to 6.0, also, via the "branch build" capabilities.  We've been using it extensively in our 5.x infrastructure for a few years.

We're automatically building on every branch (that matches a given pattern) for most of our projects.

EDIT:  In our case, bamboo builds every branch pushed for a given bitbucket repo, regardless of whether there is an existing pull request for it.  While that may not be what you are looking for (and can be "overkill", the answer ultimatly is that for our organization, who cares? (we also use bamboo server, and have no added cost for spinning up VM's locally to handle agents).  However, our builds don't tend to take all that long to run, either.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,663 views 0 6
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