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

This widget could not be displayed.

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...

This widget could not be displayed.

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 Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

146 views 1 3
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