Загрузка страницы

Jenkins Pipeline Tutorial: Declarative Pipeline vs Scripted Pipeline

Learn the difference between Jenkins Declarative Pipeline vs Scripted Pipeline ■ Jenkins Pipeline Tutorial ■ Jenkins Pipeline as Code ■ #jenkinspipeline

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

📺 WATCH NEXT:
Jenkins Declarative Pipeline vs Scripted Q&A » https://youtu.be/Dfx_VZuJ0Ps

☕️ BUY ME A COFFEE (thanks in advance! 😀)
https://e.printstacktrace.blog/buy-me-a-coffee

📧 JOIN MY NEWSLETTER
https://e.printstacktrace.blog/newsletter

🔥 MORE JENKINS PIPELINE TUTORIAL VIDEOS & RESOURCES:
------------------------------------------------------------
• Jenkins Declarative Pipeline vs. Scripted Pipeline » https://youtu.be/Ei_Nk14vruE
• Declarative vs. Scripted Q&A » https://youtu.be/Dfx_VZuJ0Ps
• Jenkins Pipeline Environment Variables » https://youtu.be/KwQDxwZRZiE
• Jenkins Pipeline for Maven projects » https://youtu.be/HaGeSq-SB9E
• 5 Common Jenkins Pipeline Mistakes » https://youtu.be/aFRjn_4nb-Q
• Jenkins Pipeline Learning Kit » https://kit.co/wololock/jenkins-pipeline-learning-kit
• Jenkins Pipeline Cookbook blog posts series » https://e.printstacktrace.blog/jenkins-pipeline-cookbook

📷 CAMERA GEAR I USE:
------------------------------------------------------------
• My camera » https://e.printstacktrace.blog/gear/camera?utm_source=dvssp01
• 25mm f1.7 lens » https://e.printstacktrace.blog/gear/lens?utm_source=dvssp01
• Microphone » https://e.printstacktrace.blog/gear/microphone?utm_source=dvssp01
• LED lights » https://e.printstacktrace.blog/gear/light?utm_source=dvssp01
• Check my full kit » https://kit.co/wololock/my-youtube-studio-gear

🛠️ TOOLS & SERVICES I USE TO:
------------------------------------------------------------
• design YouTube thumbnails (Canva) » https://e.printstacktrace.blog/canva?utm_source=dvssp01
• improve my grammar skills (Grammarly) » https://e.printstacktrace.blog/grammarly?utm_source=dvssp01
• develop mailing list (ConvertKit) » https://e.printstacktrace.blog/convertkit?utm_source=dvssp01
• listen to audiobooks (Audible, 30 days free trial) » https://e.printstacktrace.blog/audible?utm_source=dvssp01
• read Kindle ebooks (Kindle Unlimited) » https://e.printstacktrace.blog/kindleunlimited?utm_source=dvssp01
• secure network connection with VPN (NordVPN) » https://e.printstacktrace.blog/nordvpn?utm_source=dvssp01
• improve SEO on YouTube (VidIQ) » https://e.printstacktrace.blog/vidiq?utm_source=dvssp01
• host WordPress websites (Bluehost) » https://e.printstacktrace.blog/bluehost?utm_source=dvssp01

❤️ SUPPORT MY WORK
------------------------------------------------------------
• Github Sponsors » https://github.com/sponsors/wololock
• Open Collective » https://opencollective.com/eprintstacktrace
• Other options » https://e.printstacktrace.blog/support-me

👋 STAY IN TOUCH:
------------------------------------------------------------
• Blog » https://e.printstacktrace.blog
• Twitter » https://twitter.com/wololock
• LinkedIn » https://www.linkedin.com/in/szymon-st%C4%99pniak-9a0b1630
• Github » https://github.com/wololock

✉️ CONTACT:
For all subscribers, please use this email: hello@printstacktrace.blog
For business inquires only, please use this email: collabs@printstacktrace.blog

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
Link: https://www.hooksounds.com/royalty-free-music/medieval-mandola/1159526/

Видео Jenkins Pipeline Tutorial: Declarative Pipeline vs Scripted Pipeline канала Szymon Stepniak
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
13 января 2020 г. 2:57:55
00:13:46
Яндекс.Метрика