Jenkins Pipeline

In this technical post, we will review concepts we need to know in order to create and execute Jenkins Pipeline. A pipeline is an expression of our process to implement Continuous Integration, we write our process using a DSL, and this is the basic structure using Groovy #!/usr/bin/env groovy pipeline { agent any stages { stage('build') { steps { echo 'Hello World!' } } } } where: agent Instructs Jenkins to allocate an executor echo Writes simple string in the console output stage A phase in our continuous integration process steps All steps within our stage Now lets instruct to Jenkins to obtain your pipeline from Source Control Management (SCM) in this case Github [Read More]