Groovy
You're viewing a free preview. Sign in free to read every script.
Why this exists A Jenkinsfile is a Groovy file, but the declarative style hides that behind a fixed structure. Knowing which block does what, and that each one is really a method call taking a closure, is what lets you…
A Declarative Jenkinsfile, Explained Line by Line
A small but realistic declarative Jenkinsfile — agent, options, parameters, environment, stages, conditions and post actions — with each block explained in terms of the Groovy underneath.
Sign in free to read this script, along with the rest of the library.
Sign in free