Skip to Content
Pipeline as Code
book

Pipeline as Code

by Mohamed Labouardy
October 2021
Intermediate to advanced
528 pages
12h 44m
English
Manning Publications
Content preview from Pipeline as Code

7 Defining a pipeline as code for microservices

This chapter covers

  • Using a Jenkins multibranch pipeline plugin and GitFlow model
  • Defining multibranch pipelines for containerized microservices
  • Triggering a Jenkins job on push events using GitHub webhooks
  • Exporting Jenkins jobs configuration as XML and cloning Jenkins jobs

The previous chapters covered how to deploy a Jenkins cluster on multiple cloud providers by using automation tools: HashiCorp Packer and Terraform. In this chapter, we will define a continuous integration (CI) pipeline for Dockerized microservices.

In chapter 1, you learned that CI is continuously testing and building all changes of the source code before integrating them into the central repository. Figure 7.1 summarizes ...

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.
Start your free trial

You might also like

Data Pipelines with Apache Airflow

Data Pipelines with Apache Airflow

Julian de Ruiter, Bas Harenslak
Kubernetes: Up and Running, 3rd Edition

Kubernetes: Up and Running, 3rd Edition

Brendan Burns, Joe Beda, Kelsey Hightower, Lachlan Evenson

Publisher Resources

ISBN: 9781617297540Supplemental ContentPublisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link