-
Course
- Core Tech
Using Declarative Jenkins Pipelines
Learn the modern way to use Jenkins, with declarative pipelines stored in Jenkinsfiles which live alongside your project source code. Pipelines promote re-use and simplify your whole Jenkins experience, from managing agents to building branches.
What you'll learn
Declarative pipelines are the modern way to use Jenkins, replacing freestyle jobs which are stored as XML on the Jenkins server with Jenkinsfiles that are stored in source control with your project. In this course, Using Declarative Jenkins Pipelines, you'll learn how to use pipelines and how they make your Jenkins setup much easier to maintain. First, you'll see the basics of pipelines, how to structure jobs and run build steps. Then, you'll learn how pipelines promote re-use, with parameterized builds, Groovy code, and steps that can be accessed in shared libraries. Lastly, you'll understand how the features of pipelines support many different workflows - from using Docker containers as build agents, to running pipeline jobs across multiple source code branches. When you've finished with the course, you'll be ready to rewrite all your old freestyle jobs as pipelines, and make Jenkins a valuable tool rather than a maintenance burden.
Table of contents
- The How and Why of Jenkins Pipelines | 5m 8s
- Demo: Creating and Running Simple Pipelines | 8m 20s
- Understanding Pipeline Structure | 4m 3s
- Demo: Modelling Workflows in Pipelines | 7m 45s
- Doing Work with Pipeline Steps | 2m 53s
- Demo: Adding Pipeline Build Functionality | 8m 49s
- Module Summary | 3m 50s
About the author
Elton is an independent consultant specializing in systems integration with the Microsoft stack. He is a Microsoft MVP, blogger, and practicing Technical Architect.
More Courses by Elton