Mastering Jenkins

Configure and extend Jenkins to architect, build, and automate efficient software delivery pipelines
Preview in Mapt

Mastering Jenkins

Jonathan McAllister

Configure and extend Jenkins to architect, build, and automate efficient software delivery pipelines
Mapt Subscription
FREE
$29.99/m after trial
eBook
$28.00
RRP $39.99
Save 29%
Print + eBook
$49.99
RRP $49.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$28.00
$49.99
$29.99 p/m after trial
RRP $39.99
RRP $49.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Mastering Jenkins Book Cover
Mastering Jenkins
$ 39.99
$ 28.00
Learning Continuous Integration with Jenkins Book Cover
Learning Continuous Integration with Jenkins
$ 47.99
$ 33.60
Buy 2 for $35.00
Save $52.98
Add to Cart

Book Details

ISBN 139781784390891
Paperback334 pages

Book Description

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

Chapter 1: Setup and Configuration of Jenkins
The Jenkins platform architecture and configuration techniques
Jenkins on Microsoft Windows
Jenkins on Linux and UNIX
Running Jenkins behind an NGINX reverse proxy
Running Jenkins behind an Apache reverse proxy
Disaster recovery in Jenkins
Jenkins on Mac OS X
Summary
Chapter 2: Distributed Builds – Master/Slave Mode
Understanding the master and slave architecture
Choosing a launch method
Administering Jenkins slaves
Labels, groups, and load balancing
Summary
Chapter 3: Creating Views and Jobs in Jenkins
The Jenkins user interface
Jobs in Jenkins
Creating views
Summary
Chapter 4: Managing Views and Jobs in Jenkins
Managing Views in Jenkins
Navigating a job's project page
Job execution
The Job Execution Configuration panel
The Status panel
The Console Output
Summary
Chapter 5: Advanced Automated Testing
Quality assurance initiatives and test automation terminology
The Software Development Lifecycle
Connecting product codes to tests
Baking quality into the product
Automated testing in Jenkins
Unit tests in Jenkins through MSTest
Distributed testing solutions
Summary
Chapter 6: Software Deployments and Delivery
Standardizing build outputs
Implementing a Definitive Media Library
Automated deployments
Summary
Chapter 7: Build Pipelines
The value proposition of build pipelines
Architecting a build pipeline
Implementing build pipelines in Jenkins
Summary
Chapter 8: Continuous Practices
Kaizen – Continuous Improvement
Continuous Integration
Continuous Delivery
Continuous Deployment
Summary
Chapter 9: Integrating Jenkins with Other Technologies
Jenkins and Docker – Linux guide
Integrating Jenkins with Ansible – Linux and Windows
Jenkins and Artifactory
Jenkins and Selenium Grid
Jenkins and Jira
Summary
Chapter 10: Extending Jenkins
Setting up the development environment
Creating a Jenkins plugin skeleton
The plugin skeleton
Importing a Maven-generated skeleton into IntelliJ
The architecture of Jenkins plugins
Jelly tags and files
Compiling and installing an HPI plugin
Summary

What You Will Learn

  • Create and manage various types of build jobs, and implement automation tasks to support a software project of any kind
  • Get to grips with the automated testing architecture, and scalable automated testing techniques
  • Facilitate the delivery of software across the SDLC by creating scalable automated deployment solutions
  • Manage scalable automation pipelines in Jenkins using the latest build, test, and deployment strategies
  • Implement a scalable master / slave build automation platform, which can support Windows, Mac OSX, and Linux software solutions
  • Cover troubleshooting and advanced configuration techniques for Jenkins slave nodes
  • Support a robust build and delivery system by implementing basic infrastructure as code solutions in configuration management tools such as Ansible

Authors

Table of Contents

Chapter 1: Setup and Configuration of Jenkins
The Jenkins platform architecture and configuration techniques
Jenkins on Microsoft Windows
Jenkins on Linux and UNIX
Running Jenkins behind an NGINX reverse proxy
Running Jenkins behind an Apache reverse proxy
Disaster recovery in Jenkins
Jenkins on Mac OS X
Summary
Chapter 2: Distributed Builds – Master/Slave Mode
Understanding the master and slave architecture
Choosing a launch method
Administering Jenkins slaves
Labels, groups, and load balancing
Summary
Chapter 3: Creating Views and Jobs in Jenkins
The Jenkins user interface
Jobs in Jenkins
Creating views
Summary
Chapter 4: Managing Views and Jobs in Jenkins
Managing Views in Jenkins
Navigating a job's project page
Job execution
The Job Execution Configuration panel
The Status panel
The Console Output
Summary
Chapter 5: Advanced Automated Testing
Quality assurance initiatives and test automation terminology
The Software Development Lifecycle
Connecting product codes to tests
Baking quality into the product
Automated testing in Jenkins
Unit tests in Jenkins through MSTest
Distributed testing solutions
Summary
Chapter 6: Software Deployments and Delivery
Standardizing build outputs
Implementing a Definitive Media Library
Automated deployments
Summary
Chapter 7: Build Pipelines
The value proposition of build pipelines
Architecting a build pipeline
Implementing build pipelines in Jenkins
Summary
Chapter 8: Continuous Practices
Kaizen – Continuous Improvement
Continuous Integration
Continuous Delivery
Continuous Deployment
Summary
Chapter 9: Integrating Jenkins with Other Technologies
Jenkins and Docker – Linux guide
Integrating Jenkins with Ansible – Linux and Windows
Jenkins and Artifactory
Jenkins and Selenium Grid
Jenkins and Jira
Summary
Chapter 10: Extending Jenkins
Setting up the development environment
Creating a Jenkins plugin skeleton
The plugin skeleton
Importing a Maven-generated skeleton into IntelliJ
The architecture of Jenkins plugins
Jelly tags and files
Compiling and installing an HPI plugin
Summary

Book Details

ISBN 139781784390891
Paperback334 pages
Read More

Read More Reviews

Recommended for You

Learning Continuous Integration with Jenkins Book Cover
Learning Continuous Integration with Jenkins
$ 47.99
$ 33.60
Jenkins Essentials - Second Edition Book Cover
Jenkins Essentials - Second Edition
$ 31.99
$ 22.40
Extending Jenkins Book Cover
Extending Jenkins
$ 27.99
$ 19.60
DevOps Automation Cookbook Book Cover
DevOps Automation Cookbook
$ 35.99
$ 25.20
Continuous Delivery with Docker and Jenkins Book Cover
Continuous Delivery with Docker and Jenkins
$ 35.99
$ 25.20
Jenkins 2.x Continuous Integration Cookbook - Third Edition Book Cover
Jenkins 2.x Continuous Integration Cookbook - Third Edition
$ 39.99
$ 28.00