August 2018
Intermediate to advanced
416 pages
12h 37m
English
Here we have the actual Pipeline Syntax that the pipeline editor created for us. It is using the Declarative Pipeline syntax and there are several items to discuss in this syntax:
pipeline {
agent {
docker {
args '-v /Users/jean-marcelbelmont/jenkins_data'
image 'node:10-alpine'
}
}
stages {
stage('Build') {
steps {
sh '''node --version
npm install'''
}
}
stage('Cucumber Tests') {
steps {
sh 'npm run acceptance:tests'
}
}
}
}
Read now
Unlock full access