You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ti...@apache.org on 2019/01/22 23:24:32 UTC
[maven-surefire] branch jenkins-error updated: investigate only
Windows
This is an automated email from the ASF dual-hosted git repository.
tibordigana pushed a commit to branch jenkins-error
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git
The following commit(s) were added to refs/heads/jenkins-error by this push:
new bd6ef6b investigate only Windows
bd6ef6b is described below
commit bd6ef6b996d406502b4e46dad0164416dd198c66
Author: tibordigana <ti...@apache.org>
AuthorDate: Wed Jan 23 00:24:26 2019 +0100
investigate only Windows
---
Jenkinsfile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 7f69152..28c58ca 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -147,7 +147,7 @@ def buildProcess(String stageKey, String jdkName, String jdkTestName, String mvn
]) {
sh 'echo JAVA_HOME=$JAVA_HOME, JAVA_HOME_IT=$JAVA_HOME_IT, PATH=$PATH'
def script = cmd + ['\"-Djdk.home=$JAVA_HOME_IT\"']
- def error = sh(returnStatus: true, script: script.join(' '))
+ def error = 0//sh(returnStatus: true, script: script.join(' '))
currentBuild.result = error == 0 ? 'SUCCESS' : 'FAILURE'
}
} else {
@@ -158,7 +158,7 @@ def buildProcess(String stageKey, String jdkName, String jdkTestName, String mvn
]) {
bat 'echo JAVA_HOME=%JAVA_HOME%, JAVA_HOME_IT=%JAVA_HOME_IT%, PATH=%PATH%'
def script = cmd + ['\"-Djdk.home=%JAVA_HOME_IT%\"']
- def error = 0//bat(returnStatus: true, script: script.join(' '))
+ def error = bat(returnStatus: true, script: script.join(' '))
currentBuild.result = error == 0 ? 'SUCCESS' : 'FAILURE'
}
}