From de91bdeb64163ce3b33298ac7eb6416ffc321b72 Mon Sep 17 00:00:00 2001 From: olivier lamy Date: Thu, 1 Feb 2018 11:58:54 +1000 Subject: [PATCH] display maven version informations Signed-off-by: olivier lamy --- Jenkinsfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 145a6ce035e..e213eb82d2c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -28,7 +28,7 @@ for (def jdk in jdks) { stage('Compile') { withEnv(mvnEnv) { timeout(time: 15, unit: 'MINUTES') { - sh "mvn -B clean install -Dtest=None" + sh "mvn -V -B clean install -Dtest=None" } } } @@ -42,7 +42,7 @@ for (def jdk in jdks) { stage('Javadoc') { withEnv(mvnEnv) { timeout(time: 20, unit: 'MINUTES') { - sh "mvn -B javadoc:javadoc" + sh "mvn -V -B javadoc:javadoc" } } } @@ -57,7 +57,7 @@ for (def jdk in jdks) { withEnv(mvnEnv) { timeout(time: 90, unit: 'MINUTES') { // Run test phase / ignore test failures - sh "mvn -B install -Dmaven.test.failure.ignore=true -Prun-its" + sh "mvn -V -B install -Dmaven.test.failure.ignore=true -Prun-its" // Report failures in the jenkins UI step([$class: 'JUnitResultArchiver', testResults: '**/target/surefire-reports/TEST-*.xml']) @@ -111,7 +111,7 @@ for (def jdk in jdks) { dir("aggregates/jetty-all-compact3") { withEnv(mvnEnv) { - sh "mvn -B -Pcompact3 clean install" + sh "mvn -V -B -Pcompact3 clean install" } } } catch(Exception e) {