Add another stage
This commit is contained in:
parent
1a51293f45
commit
b523ee7c9d
1 changed files with 17 additions and 0 deletions
17
Jenkinsfile
vendored
17
Jenkinsfile
vendored
|
@ -12,3 +12,20 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pipeline {
|
||||||
|
agent any
|
||||||
|
stages {
|
||||||
|
stage("Deploy") {
|
||||||
|
steps {
|
||||||
|
retry(3) {
|
||||||
|
sh './flakey-deploy.sh'
|
||||||
|
}
|
||||||
|
|
||||||
|
timeout(time: 3, unit: 'MINUTES') {
|
||||||
|
sh './health-check.sh'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue