Skip to Content
Jenkins 2: Up and Running
book

Jenkins 2: Up and Running

by Brent Laster
May 2018
Intermediate to advanced
604 pages
13h 56m
English
O'Reilly Media, Inc.
Content preview from Jenkins 2: Up and Running

Chapter 2. The Foundations

Now that you understand the big ideas around which Jenkins 2 is built, we can move on to how Jenkins 2 supports pipelines-as-code. A key first step is understanding the development environment that Jenkins provides specifically for working with pipelines. This includes the systems we run our pipelines on as well as the interfaces for creating, executing, and monitoring pipelines. Additionally, you need to know about some of the basic structures that make up a pipeline, and how they fit together. Together, these elements will provide a solid foundation to build on for the rest of the book.

We’ll approach this task by concentrating on four basic areas:

  • The two styles of syntax that can be used for creating pipelines

  • The systems used to run the pipeline processes

  • The basic structure of a pipeline

  • The support environment (and tooling) that Jenkins provides for pipeline development and execution

We’ll start by defining and disambiguating some key concepts and terminology used with pipelines. Then we’ll survey the required DSL structures. Along the way, we’ll look at how to use the built-in editor and how to use a new tool in Jenkins to help figure out pipeline syntax.

Once you know how to input your pipeline code, we’ll move on to executing a pipeline and understanding the new views that Jenkins provides. We’ll also look at how to access logs from a run. Finally, we’ll explore new functionality in Jenkins that allows us to try out changes to pipelines, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Jenkins: The Definitive Guide

Jenkins: The Definitive Guide

John Ferguson Smart

Publisher Resources

ISBN: 9781491979587Errata Page