Course info
May 1, 2020
2h 5m

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.

About the author
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 from the author
IDisposable Best Practices for C# Developers
2h 16m
May 13, 2021
Deploying Containerized Applications
2h 58m
Mar 5, 2021
Preparing Docker Apps for Production
2h 55m
Dec 14, 2020
More courses by Elton Stoneman
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
[Autogenerated] Hey, how you doing? My name? Seldom on this is using decorative Jenkins pipelines here. On floor aside, I'm a Microsoft. Is your M V p on a doctor? Captain, I've been working with C I. C. D tools for many years, and I worked really hard on my Jenkins set up to make sure that it stays a useful tool and doesn't become a maintenance headache. One of the best things you can do there is moved to pipeline jobs instead of freestyle jobs, and that's what this course will take you. First. You're known how pipelines work, how you construct your building, a Jenkins spiral that lives in your source code repository. And why do current of pipelines are such a better alternative to freestyle jobs? Next, you'll see how pipelines promote reuse, because really their C I C D jobs ask code and you can break common functionality out and share it in libraries so your point lines are clean and easy to maintain. Lastly, you learn about the different work flows which pipelines support, which let you modernize and streamline your Jenkin set up using containers as build agents, generating pipeline jobs with a script and using a single job to build multiple project branches. So join me and learn how to use Jenkins effectively right here on plural sites with using decorative Jenkins pipelines.