Repository: maven-surefire Updated Branches: refs/heads/jenkinsfile afbd7877c -> 86a0dd387
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/86a0dd38 Tree: http://git-wip-us.apache.org/repos/asf/maven-surefire/tree/86a0dd38 Diff: http://git-wip-us.apache.org/repos/asf/maven-surefire/diff/86a0dd38 Branch: refs/heads/jenkinsfile Commit: 86a0dd3871ecce311d8744d58256c9ba97bf717a Parents: afbd787 Author: Tibor17 <[email protected]> Authored: Tue Aug 22 15:29:08 2017 +0200 Committer: Tibor17 <[email protected]> Committed: Tue Aug 22 15:29:08 2017 +0200 ---------------------------------------------------------------------- Jenkinsfile | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/86a0dd38/Jenkinsfile ---------------------------------------------------------------------- diff --git a/Jenkinsfile b/Jenkinsfile index a265500..cbfd004 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,9 +3,9 @@ pipeline { stages { stage('Platforms') { steps { - parallel( - 'Unix Build': { - node("${env.NIX_LABEL}") { + parallel unix: { + node("${env.NIX_LABEL}") { + stage('Unix Build') { checkout scm withEnv(["JAVA_HOME=${tool('JDK 1.8.0_144')}", "PATH+MAVEN=${tool('Maven 3.5.0')}/bin:${env.JAVA_HOME}/bin"]) { 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')}\\\"" @@ -17,9 +17,11 @@ pipeline { } } } - }, - 'Windows Build': { - node("${env.WIN_LABEL}") { + } + }, + windows: { + node("${env.WIN_LABEL}") { + stage('Windows Build') { checkout scm withEnv(["JAVA_HOME=${tool('JDK 1.8_121 (Windows Only)')}", "PATH+MAVEN=${tool('Maven 3.5.0 (Windows)')}\\bin;${env.JAVA_HOME}\\bin"]) { 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" @@ -32,7 +34,7 @@ pipeline { } } } - ) + } } } }
