Set timeout (15 minutes) in the Jenkins CI 'Deploy Docs' and 'Deploy Artifacts' build stages.
This commit is contained in:
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@@ -55,6 +55,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage ('Deploy Docs') {
|
||||
options {
|
||||
timeout(time: 15, unit: "MINUTES")
|
||||
}
|
||||
steps {
|
||||
script {
|
||||
docker.withRegistry('', 'hub.docker.com-springbuildmaster') {
|
||||
@@ -75,6 +78,9 @@ pipeline {
|
||||
}
|
||||
|
||||
stage ('Deploy Artifacts') {
|
||||
options {
|
||||
timeout(time: 15, unit: "MINUTES")
|
||||
}
|
||||
steps {
|
||||
script {
|
||||
docker.withRegistry('', 'hub.docker.com-springbuildmaster') {
|
||||
|
||||
Reference in New Issue
Block a user