Compare commits

..

1 commit

Author SHA1 Message Date
Student User
b799d87aaa fixed jenkins file 2021-07-09 03:26:16 -04:00

View file

@ -5,7 +5,7 @@ pipeline {
}
agent {
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') {
steps {