This is a collection of Jenkinsfile examples.
Jenkinsfiles, using a domain specific language based on the Groovy programming language, are persistent files that model delivery pipelines “as code”, containing the complete set of encoded steps (steps, nodes, and stages) necessary to define the entire application life-cycle.
Jenkinsfile consists of three stages: Build, Test, and Deploy.
This is going to be a collection of Jenkinsfile examples.