Compare commits
No commits in common. "simple-pipeline" and "master" have entirely different histories.
simple-pip
...
master
1 changed files with 3 additions and 14 deletions
17
simple-pipeline/Jenkinsfile
vendored
17
simple-pipeline/Jenkinsfile
vendored
|
|
@ -5,7 +5,7 @@ pipeline {
|
||||||
}
|
}
|
||||||
agent {
|
agent {
|
||||||
node {
|
node {
|
||||||
label 'master'
|
// TODO: run this simple pipeline on jenkins 'master' node
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -23,20 +23,9 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('stage 2') {
|
// TODO: ADD A STAGE THAT SAYS HELLO
|
||||||
steps {
|
|
||||||
sh 'hello from stage 2!!'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
stage('manual approval') {
|
// TODO: ADD AN APPROVAL STAGE
|
||||||
steps {
|
|
||||||
timeout(time: 60, unit: 'MINUTES'){
|
|
||||||
input message: "Move to stage 3 ?"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
stage('stage 3') {
|
stage('stage 3') {
|
||||||
steps {
|
steps {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue