Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Leveraging Jenkins in DevOps Toolchains on Bluemix

DZone's Guide to

Leveraging Jenkins in DevOps Toolchains on Bluemix

In this post, we take a look at how to integrate Jenkins with your DevOps toolchain running with IBM Bluemix. Find out how to do this useful integration!

· DevOps Zone
Free Resource

Download “The DevOps Journey - From Waterfall to Continuous Delivery” to learn about the importance of integrating automated testing into the DevOps workflow, brought to you in partnership with Sauce Labs.

As part of the IBM Bluemix continuous delivery functionality, toolchains allow the integration of third-party and open source tools. One example is the usage of the automation server Jenkins to build and deploy applications rather than using the delivery pipelines provided by IBM.

In order to test this functionality, I’ve run a Docker Jenkins container locally. Obviously, you could also deploy Jenkins on Bluemix, but I wanted to keep it as simple as possible.

In order to configure Jenkins, I suggest following the instructions from my colleague Eric Jodet in the Jenkins wiki, since they are more up to date than the instructions currently in the Bluemix documentation. Also, I struggled to get the Cloud Foundry deployment to work. I had to install the CF CLI manually on my container first.

Once everything is configured, you can run Jenkins jobs.

jenkins-devops1

In order to send information to IBM Cloud DevOps, different post build actions can be defined.

jenkins-devops2

Toolchains receive this data from Jenkins and can forward it to other tools, like Slack, that are in the same toolchains.

jenkins-devops3

I also like that deployment information is directly added to Git issues; for example, links to toolchains and releases as well as labels to mark issues as deployed.

jenkins-devops4

To find out more, read the blog from Eric, read the documentation, or try the sample toolchain "Deployment Risk Analytics with GitHub and Jenkins."


Discover how to optimize your DevOps workflows with our cloud-based automated testing infrastructure, brought to you in partnership with Sauce Labs

Topics:
bluemix ,toolchain ,devops ,jenkins ,continuous delivery ,containers

Published at DZone with permission of Niklas Heidloff, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}