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.