Jenkins: The Automation Server for CI/CD

Shriira Press

Preface

The open-source automation server that taught a generation of teams to build, test, and ship on every commit.

Welcome to Jenkins: The Automation Server for CI/CD.

Jenkins is the leading open-source automation server, the long-running engine behind continuous integration and continuous delivery for an enormous swath of the software industry. It began as Hudson at Sun Microsystems in 2004, was forked into Jenkins in 2011, and today is governed openly under the Continuous Delivery Foundation, part of the Linux Foundation, where it became the first project to graduate. This book is a tour of how Jenkins actually works. It opens with the problem Jenkins solves and the controller-and-agent architecture that lets one server orchestrate work across many machines. From there it walks through jobs, contrasting classic freestyle projects with modern pipelines, and then dives into Pipeline as code: the Jenkinsfile, the declarative and scripted styles, and the stages, steps, and post conditions that shape a build. Later chapters cover distributed builds and agents, credentials and secret handling, the vast plugin ecosystem alongside Blue Ocean and shared libraries, and running Jenkins on Kubernetes. A closing chapter gathers the practices that keep a Jenkins installation healthy as it grows.

This title is part of the ShriIra library and is free to read in full, right here — our small contribution to making world-class knowledge easy to reach.

A note on reading it: open the Contents menu at the top of the reader to jump between chapters, use the Aa menu to set a comfortable text size, theme (light, sepia, or night), and single- or two-page layout. Your place is saved automatically, so you can always pick up where you left off.

We hope it serves you well.

— Shriira Press

Contents

  1. Chapter 1 — What Jenkins Is
  2. Chapter 2 — The Controller and Agent Architecture
  3. Chapter 3 — Jobs: Freestyle and Pipeline
  4. Chapter 4 — Pipeline as Code and the Jenkinsfile
  5. Chapter 5 — Declarative and Scripted Pipelines
  6. Chapter 6 — Distributed Builds and Agents
  7. Chapter 7 — Credentials and Secrets
  8. Chapter 8 — Plugins, Blue Ocean, and Shared Libraries
  9. Chapter 9 — Jenkins on Kubernetes
  10. Chapter 10 — Jenkins in Practice
0%
1/1