This is an automated email from the ASF dual-hosted git repository.
olamy pushed a commit to branch ci-reporting
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git
The following commit(s) were added to refs/heads/ci-reporting by this push:
new 51e2369 why life is so hard :)
51e2369 is described below
commit 51e2369fe341a663d250327d96d74bb22461a370
Author: Olivier Lamy <[email protected]>
AuthorDate: Thu Mar 3 08:35:32 2022 +1000
why life is so hard :)
Signed-off-by: Olivier Lamy <[email protected]>
---
Jenkinsfile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 4e84004..40c8e14 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -43,7 +43,7 @@ final Map stages = [:]
oses.eachWithIndex { osMapping, indexOfOs ->
mavens.eachWithIndex { maven, indexOfMaven ->
jdks.eachWithIndex { jdk, indexOfJdk ->
- def os = osMapping.key
+ def os = oses[indexOfOs]
def label = osMapping.value
final String jdkName = jenkinsEnv.jdkFromVersion(os,
jdk.toString())
final String mvnName = jenkinsEnv.mvnFromVersion(os, maven)
@@ -142,7 +142,7 @@ def buildProcess(String stageKey, String jdkName, String
mvnName, goals, options
stage("build ${stageKey}") {
- echo "NODE_NAME = ${env.NODE_NAME}, stageKey: ${stageKey},
makeReports:" + makeReports
+ echo "NODE_NAME = ${env.NODE_NAME}, stageKey: " + stageKey +",
makeReports:" + makeReports
checkout scm