Skip to content


Jenkins: The Definitive Guide

Continuous Integration, or CI, is a cornerstone of modern software development best practices. Jenkins, an Open Source Continuous Integration tool, is by far the most popular Continuous Integration tool on the market, and for good reason! It's intuitive user interface and powerful features make setting up a Continuous Integration service a real breeze.

This book will teach you how to build a powerful and robust CI infrastructure using Jenkins. It is both a tutorial-style introduction and a comprehensive reference to implementing Continuous Integration and automating the build process with Jenkins. It's intention is not only to describe and document Jenkins, but also to provide a wealth of best practices and real-world tips enabling readers to get the most out of their Continuous Integration environment.

Jenkins: The Definitive Guide is an open source book, and is freely available online and in PDF form. The printed copy and eBook versions (ePub, mobi) are also available for purchase here.

Table of Contents

  • Introduction
  • First Steps with Jenkins
  • Installing Jenkins
  • Configuring Jenkins
  • Setting up build jobs
  • Automated testing
  • Security
  • Notification
  • Automated Code Quality Metrics
  • Advanced build job strategies
  • Distributed builds
  • Automated deployments
  • Server Maintenance

Book Resources

  • Purchase 'Jenkins: The Definitive Guide' (hardcopy or ebook format)
  • Download 'Jenkins: The Definitive Guide' (PDF format)

Try out Jenkins!

Launch Jenkins through Java Web Start for a test drive. Once it launches, visit http://localhost:8080/ to get to the Jenkins. Any configuration that you do with this Jenkins will be stored in the local ~/.jenkins directory, so your data will survive through Jenkins process restart.

Download the latest version of Jenkins

Download the latest version of Jenkins here, or directly from the Jenkins website.

Download the code samples

Download the code samples used in the book here.

Platinum Sponsors

Gold Sponsors

Odd-e is a small company focusing on software quality, agile and lean development, training and coaching.

Also helping out...

XMLMind have contributed licenses for XMLMind Professional Edition LeanKit Kanban have contributed an online Kanban board for the book contributors.

Become a Sponsor!

About the author

John Ferguson Smart is a consultant specializing in Enterprise Java, Web Development, and Open Source technologies, currently based in Wellington, New Zealand. Well known in the Java community for his many published articles, and as author of the Java Power Tools book, John helps organizations optimize their Java development processes and infrastructures and provides training and mentoring in open source technologies, SDLC tools, and agile development processes. John is principal consultant at Wakaleo Consulting, a company that provides consulting, training and mentoring services in Enterprise Java and Agile Development.

Upcoming courses