Set timeout for the 'Deploy Docs' and 'Deploy Artifacts' Jenkins build stages.
Set timeout to 15 minutes.
This commit is contained in:
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user