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!
Join the DZone community and get the full member experience.Join For Free
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.
in order to send information to ibm cloud devops, different post build actions can be defined.
toolchains receive this data from jenkins and can forward it to other tools, like slack, that are in the same toolchains.
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.
Published at DZone with permission of Niklas Heidloff, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.