Defining a Pipeline

Defining a Pipeline in the Web UI

What is Jenkins?

// Declarative //pipeline {agent anystages {stage('Build') {steps {echo 'Building..'
}
}
stage('Test')
{
steps
{
echo 'Testing..'
}
}
stage('Deploy')
{
steps {
echo 'Deploying....'
}
}
}
}// Script //
node{
stage('Build') {
echo 'Building....'
}
stage('Test') {
echo 'Building....'
}
stage('Deploy') {
echo 'Deploying....'
}
}

Iam a Technical Content writer having 4years of Industry experience. Till now, I have written 300+ articles and 6 tutorials