filmov
tv
Jenkins Pipeline Tutorial: Declarative Pipeline vs Scripted Pipeline
Показать описание
Many people ask this question: should I use Jenkins Declarative Pipeline syntax, or should I use the scripted one? And what is the difference between the two? In this video, I will show you what are the most significant differences between those two types of Jenkinsfile syntax. You need to know that the scripted pipeline was the first implementation of the "pipeline as a code" standard in the Jenkins ecosystem. The declarative pipeline represents newer attempt to this standard implementation introducing more opinionated syntax and adding several interesting features you can't find in the scripted pipeline syntax. And last but not least, both variants use Groovy DSL. Let's dive into both and learn what are the most important differences between the two.
⏱️ TIMESTAMPS:
------------------------------------------------------------
00:00 | Intro
00:45 | Jenkins Declarative Pipeline vs Scripted
01:43 | Ex.1: Jenkins pipeline code validation
04:14 | Ex.2: Restart pipeline from the stage
07:15 | Ex.3: Declarative pipeline options block
10:42 | Ex.4: Skip stage on a condition
☕️ BUY ME A COFFEE (thanks in advance! 😀)
📧 JOIN MY NEWSLETTER
🔥 MORE JENKINS PIPELINE TUTORIAL VIDEOS & RESOURCES:
------------------------------------------------------------
📷 CAMERA GEAR I USE:
------------------------------------------------------------
🛠️ TOOLS & SERVICES I USE TO:
------------------------------------------------------------
❤️ SUPPORT MY WORK
------------------------------------------------------------
👋 STAY IN TOUCH:
------------------------------------------------------------
✉️ CONTACT:
DISCLAIMER: Some of the links above are affiliate links. If you decide to click that link and subsequently make a purchase, I will get a small percentage from your purchase. Using the affiliate link does not affect the final price of the product. The commission I earn comes at no additional cost to you. Thank you for supporting my channel so I can continue to provide you with free content on a regular basis!
And remember - it's all about helping YOU to become a better software developer! Thanks!
#eprintstacktrace #szymonstepniak
Music used in this video:
Artist: HOOKSOUNDS ORIGINALS
Title: MEDIEVAL MANDOLA
Комментарии