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

Changed timeouts on builds

parent 63c00a91
node('local') {
timeout(45) {
try {
stage('Init') {
......@@ -7,16 +6,20 @@ node('local') {
tool 'Apache Maven 3.3.9'
}
timeout(30) {
stage('Checkout') {
checkout scm
sh 'git submodule update --init --recursive'
}
}
timeout(45) {
stage('Build and Test') {
withMaven(maven: 'Apache Maven 3.3.9', jdk: 'JDK 8u102') {
sh 'mvn -B -T 2 -Dmaven.test.failure.ignore clean package'
}
}
}
stage('Report Tests') {
junit '*/target/surefire-reports/*.xml'
......@@ -45,5 +48,4 @@ node('local') {
throw e
}
}
}
Markdown is supported
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