DATAREDIS-1380 - Add timeouts to Jenkins stages.
This commit is contained in:
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@@ -19,6 +19,7 @@ pipeline {
|
||||
}
|
||||
}
|
||||
agent any
|
||||
options { timeout(time: 20, unit: 'MINUTES') }
|
||||
|
||||
steps {
|
||||
script {
|
||||
@@ -39,6 +40,7 @@ pipeline {
|
||||
args '-v $HOME/.m2:/tmp/spring-data-maven-repository'
|
||||
}
|
||||
}
|
||||
options { timeout(time: 30, unit: 'MINUTES') }
|
||||
steps {
|
||||
sh 'rm -rf ?'
|
||||
|
||||
@@ -75,6 +77,7 @@ pipeline {
|
||||
args '-v $HOME/.m2:/tmp/spring-data-maven-repository'
|
||||
}
|
||||
}
|
||||
options { timeout(time: 20, unit: 'MINUTES') }
|
||||
|
||||
environment {
|
||||
ARTIFACTORY = credentials('02bd1690-b54f-4c9f-819d-a77cb7a9822c')
|
||||
@@ -96,6 +99,7 @@ pipeline {
|
||||
args '-v $HOME/.m2:/tmp/spring-data-maven-repository'
|
||||
}
|
||||
}
|
||||
options { timeout(time: 20, unit: 'MINUTES') }
|
||||
|
||||
environment {
|
||||
ARTIFACTORY = credentials('02bd1690-b54f-4c9f-819d-a77cb7a9822c')
|
||||
|
||||
Reference in New Issue
Block a user