Commit 03aa77be authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Changed timeouts on builds

parent 63c00a91
node('local') { node('local') {
timeout(45) {
try { try {
stage('Init') { stage('Init') {
...@@ -7,16 +6,20 @@ node('local') { ...@@ -7,16 +6,20 @@ node('local') {
tool 'Apache Maven 3.3.9' tool 'Apache Maven 3.3.9'
} }
timeout(30) {
stage('Checkout') { stage('Checkout') {
checkout scm checkout scm
sh 'git submodule update --init --recursive' sh 'git submodule update --init --recursive'
} }
}
timeout(45) {
stage('Build and Test') { stage('Build and Test') {
withMaven(maven: 'Apache Maven 3.3.9', jdk: 'JDK 8u102') { withMaven(maven: 'Apache Maven 3.3.9', jdk: 'JDK 8u102') {
sh 'mvn -B -T 2 -Dmaven.test.failure.ignore clean package' sh 'mvn -B -T 2 -Dmaven.test.failure.ignore clean package'
} }
} }
}
stage('Report Tests') { stage('Report Tests') {
junit '*/target/surefire-reports/*.xml' junit '*/target/surefire-reports/*.xml'
...@@ -45,5 +48,4 @@ node('local') { ...@@ -45,5 +48,4 @@ node('local') {
throw e throw e
} }
}
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment