Current Articles | RSS Feed RSS Feed

Build your Assembla Merge Requests Gangn..Err Gerrit style with Jenkins

Posted by Titas Norkunas on Fri, Nov 23, 2012
If you hear someone talking about Gerrit, 99 times out of a 100 they will turn the discussion to their Jenkins setup (and oh boy, do I love speaking about Jenkins setups for different workflows!).

We are happy to release Jenkins Assembla Merge Request builder (or JAMRb for short) as an open source project to the Assembla and Jenkins communities.

JAMRb allows you to easily manage Jenkins’ jobs for all your merge requests:
  • Set up template jobs (build, deploy, test) for your mainline and these jobs will be automatically created for any merge request in the project.
  • Merge request got merged or ignored? JAMRb will clean up its jobs without the necessity to bother your Jenkins’ administrators.
  • Want to build the future of your merge request before you merge, not just branches that they are based on? JAMRb will configure Build Parameters for target branch and use the remote of a merge request, so just before build you can verify if merge request applies without errors, otherwise fail build.
  • Works fine with Assembla's Jenkins Auth plugin.

Just to give you a little taste of this, if your merge request view looks like this:

Jenkins before JAMRb:

Jenkins with JAMRb (extra jobs created automatically):

At the moment, this workflow only applies to git, however, merge requests for Subversion are already in beta. If you are using Assembla and SVN (or Perforce) and are interested in this setup, let us know in the comments.

Tags: , , , , , , ,


"Not permitted" when trying to access the JAMRb repo :-/ 

posted @ Friday, November 23, 2012 10:00 AM by Pau Garcia i Quiles

Updated permissions, sorry about that Pau :)

posted @ Friday, November 23, 2012 10:25 AM by Titas Norkunas

Does the Jenkins build update the merge request with its status? Specifically it would be nice if to know in the merge request that the build failed...

posted @ Monday, December 17, 2012 9:20 AM by Matthew

Matthew, I am working on a little script that will do exactly that. We'll open source it after we use it ourselves and see its working fine, 

posted @ Monday, December 24, 2012 9:09 AM by Titas

Comments have been closed for this article.

Follow Assembla

twitter facebook youtube linkedin googleplus

Get Started

blog CTA button

Subscribe by Email

Your email: