Book Image

Mastering Jenkins

By : jmcallister -, Jonathan McAllister
Book Image

Mastering Jenkins

By: jmcallister -, Jonathan McAllister

Overview of this book

With the software industry becoming more and more competitive, organizations are now integrating delivery automation and automated quality assurance practices into their business model. Jenkins represents a complete automation orchestration system, and can help converge once segregated groups into a cohesive product development and delivery team. By mastering the Jenkins platform and learning to architect and implement Continuous Integration, Continuous Delivery, and Continuous Deployment solutions, your organization can learn to outmanoeuvre and outpace the competition. This book will equip you with the best practices to implement advanced continuous delivery and deployment systems in Jenkins. The book begins with giving you high-level architectural fundamentals surrounding Jenkins and Continuous Integration. You will cover the different installation scenarios for Jenkins, and see how to install it as a service, as well as the advanced XML configurations. Then, you will proceed to learn more about the architecture and implementation of the Jenkins Master/Save node system, followed by creating and managing Jenkins build jobs effectively. Furthermore, you'll explore Jenkins as an automation orchestration system, followed by implementing advanced automated testing techniques. The final chapters describe in depth the common integrations to Jenkins from third-party tools such as Jira, Artifactory, Amazon EC2, and getting the most out of the Jenkins REST-based API. By the end of this book, you will have all the knowledge necessary to be the definitive resource for managing and implementing advanced Jenkins automation solutions for your organization.
Table of Contents (18 chapters)
Mastering Jenkins
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


Today, there are various methods and means to facilitate automated deployments for a software project. Whatever the technology is, we can learn and innovate creative ways to attach that to Jenkins. By attaching our deployments to Jenkins, we can move Jenkins into the realm of an automation orchestration platform and out of the realm of grandma's build tool. Whichever way you decide to implement automated deployments, be sure to try and facilitate the following best practice features:

  • Deploying any version of a software solution should be as easy as a button click

  • Rolling forward or backward in time should also be a button click

  • Maintaining your environmental configurations in code form (infrastructure as code)

In this chapter of Mastering Jenkins we discovered some innovative ways we can approach software delivery and some tricks we can leverage to automate deployments. We learned about packaging, and versioning our tests as well as automation scripts. We covered artifact repositories...