Set timeout for the 'Deploy Docs' and 'Deploy Artifacts' Jenkins build stages.

Set timeout to 15 minutes.
This commit is contained in:
John Blum
2021-12-02 22:56:02 -08:00
parent e7fbebba77
commit 38b2ae99ed

6
Jenkinsfile vendored
View File

@@ -61,6 +61,9 @@ pipeline {
}
stage ('Deploy Docs') {
options {
timeout(time: 15, unit: "MINUTES")
}
steps {
script {
docker.withRegistry('', 'hub.docker.com-springbuildmaster') {
@@ -81,6 +84,9 @@ pipeline {
}
stage ('Deploy Artifacts') {
options {
timeout(time: 15, unit: "MINUTES")
}
steps {
script {
docker.withRegistry('', 'hub.docker.com-springbuildmaster') {