Chapter 7. Using Jenkins for Continuous Deployment

In this chapter, we are going to cover the following topics:

  • Installing Jenkins
  • Installing the Git plugin
  • Installing a Jenkins slave
  • Creating your first Jenkins job
  • Building Docker containers using Jenkins
  • Deploying a Java application to Tomcat with zero downtime using Ansible

Introduction

Continuous integration is one of the most powerful techniques you can use when developing software and it underpins a great deal of what many consider a DevOps tool-chain. Continuous integration (CI) essentially entails taking your code and building it on a frequent schedule and deploying it into a representative environment for the purpose of testing. This automated job should both build and test, if the tests are ...

Get Learning DevOps: Continuously Deliver Better Software now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.