You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2019/01/27 10:13:45 UTC
[maven] branch master updated: [MNG-6573] Use Maven 3.6.0 for CI
This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven.git
The following commit(s) were added to refs/heads/master by this push:
new 7e3e545 [MNG-6573] Use Maven 3.6.0 for CI
7e3e545 is described below
commit 7e3e5453c0813927497e10363d0469438ad763d0
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Thu Jan 24 00:12:00 2019 +0100
[MNG-6573] Use Maven 3.6.0 for CI
Closes #235
---
Jenkinsfile | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 7c580cd..bcf5310 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -21,10 +21,10 @@ properties([buildDiscarder(logRotator(artifactNumToKeepStr: '5', numToKeepStr: e
def buildOs = 'linux'
def buildJdk = '8'
-def buildMvn = '3.5.4'
+def buildMvn = '3.6.0'
def runITsOses = ['linux', 'windows']
def runITsJdks = ['7', '8', '11']
-def runITsMvn = '3.5.4'
+def runITsMvn = '3.6.0'
def runITscommand = "mvn clean install -Prun-its,embedded -B -U -V" // -DmavenDistro=... -Dmaven.test.failure.ignore=true
def tests
@@ -117,6 +117,7 @@ parallel(runITsTasks)
// JENKINS-34376 seems to make it hard to detect the aborted builds
} catch (org.jenkinsci.plugins.workflow.steps.FlowInterruptedException e) {
+ echo "[FAILURE-002] FlowInterruptedException ${e}"
// this ambiguous condition means a user probably aborted
if (e.causes.size() == 0) {
currentBuild.result = "ABORTED"
@@ -125,6 +126,7 @@ parallel(runITsTasks)
}
throw e
} catch (hudson.AbortException e) {
+ echo "[FAILURE-003] AbortException ${e}"
// this ambiguous condition means during a shell step, user probably aborted
if (e.getMessage().contains('script returned exit code 143')) {
currentBuild.result = "ABORTED"
@@ -133,9 +135,11 @@ parallel(runITsTasks)
}
throw e
} catch (InterruptedException e) {
+ echo "[FAILURE-004] ${e}"
currentBuild.result = "ABORTED"
throw e
} catch (Throwable e) {
+ echo "[FAILURE-001] ${e}"
currentBuild.result = "FAILURE"
throw e
} finally {