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?

 

image.png

2 answers

1 accepted

1 vote
Accepted answer

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
Community showcase
Posted Tuesday in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

189 views 4 1
Join discussion

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