Intermediate

Use Declarative Jenkins Pipelines

https://github.com/FeynmanFan/declarative-pipelines.

This repository is open for reading: it is possible to clone it, fork it, and use it freely. In a real business context, credentials would be necessary to clone a private repository — this point is mentioned but deliberately left aside in this introductory course.

The Jenkins instance used is running in a Docker container (version 2.479.2). Using Docker for Jenkins is entirely abstracted from the course experience, particularly because the pipelines are loaded from version control. The instance is launched with a local volume, which makes it easier to persist state outside the container. To learn more about this topic, the “Running Jenkins and Docker” course is recommended.

Sign in to read this course

A free account unlocks all 514 courses. 20 are readable without one.

What's inside

7 sections
  1. 1 Table of Contents
  2. 2 Discover the basics of declarative pipelines
  3. 3 Build multi stage and multi branch pipelines
  4. 4 Integrate declarative pipelines with build tools and notifications
  5. 5 Working with environment variables and secrets
  6. 6 Fix errors and improve pipeline resilience
  7. 7 Quick reference — Declarative pipeline syntax

Interested in this course?

Contact us to book it or get a custom training plan for your team.