You are on page 1of 2

Git: Version Control tool

Jenkins: CI/CD tool

Continuous Delivery:

Continuous Deployment:

Jenkins pipeline: Pipelines are a collection/workflow of Jenkins jobs that trigger each other in a specified
sequence.

Declarative pipeline syntax


 Code is written locally in a file and is checked into a SCM(Git)
 The code is defined within a 'pipeline' block
pipeline {
agent any
stages {
stage('Build') {
steps {
//
}
}
stage('Deploy') {
steps {
//
}
}
}
}
Scripted pipeline syntax
 Code is written on the Jenkins UI instance
 The code is defined within a 'pipeline' block
node {
agent any
stages {
stage('Build') {
steps {
//
}
}
stage('Deploy') {
steps {
//
}
}
}
}

You might also like