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