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

Implementing build pipelines in Jenkins


At this point, we should have a solid understanding regarding the architecture of a build pipeline. To help get builds flowing through pipelines in Jenkins, let's take a look at some useful strategies, Jenkins plugins, and practices that can assist us when implementing build pipelines.

Due to the highly customizable nature of the build pipelines in Jenkins, there are lots of ways to achieve the same goal. Most low-level automation implementations are highly dependent on the technology stack, organization, and the platform. In this section of Mastering Jenkins, we will aim to provide Jenkins-specific guidance, applicable tips, techniques, and guidelines to leverage some plugins instead of an all-encompassing guide which would most certainly miss the mark for many readers.

The following sections are organized by topic and may not be suitable for all implementations of a build pipeline. Although we've tried to select the most applicable solutions, relevant...