Repository: maven-surefire Updated Branches: refs/heads/master 854c0772d -> 500a72807
Jenkinsfile Project: http://git-wip-us.apache.org/repos/asf/maven-surefire/repo Commit: http://git-wip-us.apache.org/repos/asf/maven-surefire/commit/500a7280 Tree: http://git-wip-us.apache.org/repos/asf/maven-surefire/tree/500a7280 Diff: http://git-wip-us.apache.org/repos/asf/maven-surefire/diff/500a7280 Branch: refs/heads/master Commit: 500a728073958bb23928eb8a64882d8a43a69616 Parents: 854c077 Author: Tibor17 <[email protected]> Authored: Tue Aug 22 05:55:34 2017 +0200 Committer: Tibor17 <[email protected]> Committed: Tue Aug 22 05:55:34 2017 +0200 ---------------------------------------------------------------------- Jenkinsfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/500a7280/Jenkinsfile ---------------------------------------------------------------------- diff --git a/Jenkinsfile b/Jenkinsfile index 37991fc..218f160 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -10,6 +10,7 @@ pipeline { jdk 'JDK 1.8.0_144' } steps { + checkout scm sh "mvn clean install jacoco:report -B -U -e -fae -V -P run-its,jenkins -Dsurefire.useFile=false -Dfailsafe.useFile=false -Dintegration-test-port=8084 \\\"-Djdk.home=${tool('JDK 9 b181')}\\\"" jacoco changeBuildStatus: false, execPattern: '**/*.exec' } @@ -28,7 +29,10 @@ pipeline { jdk 'JDK 1.8_121 (Windows Only)' } steps { - bat "mvn clean install jacoco:report -B -U -e -fae -V -P run-its,jenkins -Dsurefire.useFile=false -Dfailsafe.useFile=false -Dintegration-test-port=8084 \\\"-Djdk.home=${tool('JDK 9 b181')}\\\"" + checkout scm + withEnv(["J9_HOME=${tool('JDK 9 b181')}"]) { + bat "mvn clean install jacoco:report -B -U -e -fae -V -P run-its,jenkins -Dsurefire.useFile=false -Dfailsafe.useFile=false -Dintegration-test-port=8084 -Djdk.home=%J9_HOME%" + } jacoco changeBuildStatus: false, execPattern: '**/*.exec' } post {
