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 blueprint that can take a company of any maturity level all the way up to enterprise-scale continuous delivery using a combination of Automic Release Automation, Automic’s 20+ years of business automation experience, and the proven tools and practices the company is already leveraging.

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


Download the ‘Practical Blueprint to Continuous Delivery’ to learn how Automic Release Automation can help you begin or continue your company’s digital transformation.

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

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}