Learn how to write your custom Groovy DSL scripts using Groovy's powerful features like closures, method delegation, and even more.
⏱️ TIMESTAMPS:
------------------------------------------------------------
00:00 | Introduction
01:33 | Implementing "pipeline" method
02:39 | PipelineDsl Groovy class
03:15 | Introducing closure delegation
06:08 | Introducing @DelegatesTo annotation for code completion
07:44 | Implementing "environment" method
08:06 | Introducing Groovy's "with" method
09:27 | StagesDsl Groovy class
12:53 | StageDsl Groovy class
14:16 | Steps Groovy class
15:39 | Implementing "echo" pipeline step
16:02 | Implementing "sh" pipeline step
16:18 | Introducing @NamedParams annotation
20:10 | Introducing @ClosureParams annotation
21:23 | Running example with the static compilation enabled
🔗 Get the source code from the Github
[ Ссылка ]
➡️ Groovy DSL Builders by Vladimír Oraný
[ Ссылка ]
📺 WATCH NEXT:
Groovy Closures Explained » [ Ссылка ]
☕️ BUY ME A COFFEE (thanks in advance! 😀)
[ Ссылка ]
📧 JOIN MY NEWSLETTER
[ Ссылка ]
🔥 MORE GROOVY TUTORIAL VIDEOS & RESOURCES:
------------------------------------------------------------
• Learn Groovy DSL in 20 minutes » [ Ссылка ]
• Groovy + GraalVM » [ Ссылка ]
• Groovy Brainf**k Interpreter » [ Ссылка ]
• Groovy Tutorial Playlist » [ Ссылка ]
• Groovy Programmer Learning Kit » [ Ссылка ]
• Groovy Cookbook blog posts series » [ Ссылка ]
📷 CAMERA GEAR I USE:
------------------------------------------------------------
• My camera » [ Ссылка ]
• 25mm f1.7 lens » [ Ссылка ]
• Microphone » [ Ссылка ]
• LED lights » [ Ссылка ]
• Check my full kit » [ Ссылка ]
🛠️ TOOLS & SERVICES I USE TO:
------------------------------------------------------------
• design YouTube thumbnails (Canva) » [ Ссылка ]
• improve my grammar skills (Grammarly) » [ Ссылка ]
• develop mailing list (ConvertKit) » [ Ссылка ]
• listen to audiobooks (Audible, 30 days free trial) » [ Ссылка ]
• read Kindle ebooks (Kindle Unlimited) » [ Ссылка ]
• secure network connection with VPN (NordVPN) » [ Ссылка ]
• improve SEO on YouTube (VidIQ) » [ Ссылка ]
• host WordPress websites (Bluehost) » [ Ссылка ]
❤️ SUPPORT MY WORK
------------------------------------------------------------
• Github Sponsors » [ Ссылка ]
• Open Collective » [ Ссылка ]
• Other options » [ Ссылка ]
👋 STAY IN TOUCH:
------------------------------------------------------------
• Blog » [ Ссылка ]
• Twitter » [ Ссылка ]
• LinkedIn » [ Ссылка ]
• Github » [ Ссылка ]
✉️ 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
Groovy DSL scripts in 20 minutes for beginners
Теги
groovy dslgroovy dsl quickstartgroovy pipeline dslgroovy dsl how togroovy dsl introductiongroovy java dslgroovy dsl buildergroovy programming tutorialgroovy dsl jenkinsgroovy javaszymon stepniakeprintstacktracelearn groovylearn groovy dsllearn groovy scripthow to learn groovydsl groovylearning groovygroovy for beginnersgroovy quickstartgroovylanggroovy tutorialgroovy script tutorialgroovy jenkins