diff --git a/Jenkinsfile b/Jenkinsfile index b9ffab85283..8bc326a5a85 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -21,8 +21,8 @@ node('linux') { try { stage 'Compile' - timeout(15) { - withEnv(mvnEnv) { + withEnv(mvnEnv) { + timeout(15) { sh "mvn -B clean install -Dtest=None" } } @@ -34,8 +34,8 @@ node('linux') { try { stage 'Javadoc' - timeout(15) { - withEnv(mvnEnv) { + withEnv(mvnEnv) { + timeout(15) { sh "mvn -B javadoc:javadoc" } } @@ -47,8 +47,8 @@ node('linux') { try { stage 'Test' - timeout(60) { - withEnv(mvnEnv) { + withEnv(mvnEnv) { + timeout(60) { // Run test phase / ignore test failures sh "mvn -B install -Dmaven.test.failure.ignore=true" // Report failures in the jenkins UI