1) Pipeline
Jenkins Pipeline (or simply "Pipeline") is a suite of plugins which supports implementing and integrating continuous delivery pipelines into Jenkins. A continuous delivery pipeline is an automated expression of your process for getting software from version control to your users and customers.
2) Declarative Pipeline
Declarative Pipeline is a more recent addition to Jenkins and provides a more structured and simpler syntax for defining pipelines. Declarative Pipeline is based on the Groovy programming language but uses a Groovy-based DSL (Domain-Specific Language) for pipeline configuration.
3) Scripted Pipeline
Scripted Pipeline is the original pipeline syntax for Jenkins, based on the Groovy scripting language. In Scripted Pipeline, the entire workflow is defined in a single file called a Jenkinsfile. The Jenkins file is written in Groovy and is executed by the Jenkins Pipeline plugin.
Why You Should Have a Pipeline
The Jenkins pipeline in CI/CD automates many tasks and makes the CI/CD pipeline tasks reliable, efficient, repeatable, and high in quality.
The connection of jobs in a particular format in the pipeline is done by Jenkins.
It represents the continuous delivery and continuous integration of the jobs in the SDLC and DevOps life cycle management in the pipeline.
Pipeline syntax
pipeline {
agent any
stages {
stage('Build') {
steps {
//
}
}
stage('Test') {
steps {
//
}
}
stage('Deploy') {
steps {
//
}
}
}
}
Today's Task:
Create a New Job, this time select Pipeline instead of Freestyle Project.
Follow the Official Jenkins Hello world example.
Day 25 of #90daysofDevOps
Thanks for reading
Follow me for more about DevOps♾️........
________________________________________________________________________________
#90daysHardChallenge
#Cloudcomputing
#DevOps
#Python
#TrainWithShubham