DATAREDIS-1380 - Add timeouts to Jenkins stages.

This commit is contained in:
Greg Turnquist
2019-06-24 10:07:18 -05:00
parent 528090c2bb
commit c7298f6851

4
Jenkinsfile vendored
View File

@@ -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')