See https://builds.apache.org/job/maven-box/job/maven-ear-plugin/job/JDK-TEST/2/
Changes:
* [INFRA-18014] Provide GPG on Jenkins Windows nodes
* Switch back to Windows label
* Shorten wsDir
* Fix groovy script
* rewrite groovy statement
* Keep original stageId
* Reduce stageDir
* More shortening of path
* maven-invoker keeps lock on jar (under investigation), so can't fully
All tests passed
Build log:
[...truncated 199433 lines...]
Building: project-075
Building: project-066
Building: project-067
Building: project-076
Building: project-051
Building: project-077
Building: project-052
Building: project-078
Building: project-068
Building: project-053
Building: project-079
Building: project-080
Building: project-054
Building: project-055
Building: project-081
Building: project-082
Building: project-056
Building: project-069
Building: project-083
Building: project-070
Building: project-084
Building: project-057
Building: project-058
Building: project-085
Building: project-086
Building: project-059
Building: project-071
Building: project-087
Building: project-060
[INFO] Tests run: 87, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 677.479
s - in org.apache.maven.plugins.ear.it.EarMojoIT
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 87, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @
maven-ear-plugin ---
Building: project-061
Building: project-062
Building: project-072
[INFO] There are 3 errors reported by Checkstyle 6.18 with
config/maven_checks.xml ruleset.
[INFO] Ignored 3 errors, 0 violation remaining.
[INFO]
[INFO] --- maven-invoker-plugin:3.1.0:verify (integration-test) @
maven-ear-plugin ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO] Passed: 17, Failed: 0, Errors: 0, Skipped: 0
[INFO] -------------------------------------------------
[INFO]
[INFO] --- maven-failsafe-plugin:2.22.1:verify (default) @ maven-ear-plugin ---
[INFO] Failsafe report directory:
f:\jenkins\jenkins-slave\workspace\en-box_maven-ear-plugin_JDK-TEST@2\windows-jdk8-m3.5.x_build\target\failsafe-reports
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15:14 min
[INFO] Finished at: 2019-04-10T17:48:53-07:00
[INFO] Final Memory: 61M/887M
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated
F:\jenkins\jenkins-slave\workspace\en-box_maven-ear-plugin_JDK-TEST@2@tmp\withMaven06a3e50c\maven-spy-20190410-173337-747896995010078017525.log
Picked up JAVA_TOOL_OPTIONS:
-Dmaven.ext.class.path="f:\jenkins\jenkins-slave\workspace\en-box_maven-ear-plugin_JDK-TEST@2@tmp\withMaven06a3e50c\pipeline-maven-spy.jar"
-Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="f:\jenkins\jenkins-slave\workspace\en-box_maven-ear-plugin_JDK-TEST@2@tmp\withMaven06a3e50c"
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
Building: project-063
[withMaven] artifactsPublisher - Archive artifact
windows-jdk8-m3.5.x_build\pom.xml under
org\apache\maven\plugins\maven-ear-plugin\3.0.2-SNAPSHOT\maven-ear-plugin-3.0.2-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact
windows-jdk8-m3.5.x_build\target\maven-ear-plugin-3.0.2-SNAPSHOT.jar under
org\apache\maven\plugins\maven-ear-plugin\3.0.2-SNAPSHOT\maven-ear-plugin-3.0.2-SNAPSHOT.jar
[Fast Archiver] No prior successful build to compare, so performing full copy
of artifacts
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.plugins:maven-ear-plugin:maven-plugin:3.0.2-SNAPSHOT generated
by maven-surefire-plugin:test (default-test):
windows-jdk8-m3.5.x_build\target\surefire-reports\*.xml
Recording test results
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.plugins:maven-ear-plugin:maven-plugin:3.0.2-SNAPSHOT generated
by maven-failsafe-plugin:integration-test (default):
windows-jdk8-m3.5.x_build\target\failsafe-reports\*.xml
Recording test results
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact
org.apache.maven.plugins:maven-ear-plugin:maven-plugin:3.0.2-SNAPSHOT in source
directory windows-jdk8-m3.5.x_build\src\main\java
[TASKS] Scanning folder
'f:\jenkins\jenkins-slave\workspace\en-box_maven-ear-plugin_JDK-TEST@2' for
files matching the pattern 'windows-jdk8-m3.5.x_build\src\main\java\**\*' -
excludes: null
[TASKS] Found 35 files to scan for tasks
[TASKS] Found 5 open tasks.
Skipping warnings blame since pipelines do not have an SCM link.%n
[withMaven] invokerPublisher - Archive invoker results for Maven artifact
MavenArtifact{org.apache.maven.plugins:maven-ear-plugin:maven-plugin:3.0.2-SNAPSHOT(version:
3.0.2-SNAPSHOT, snapshot:false) } generated by
PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.1.0@integration-test
integration-test}: windows-jdk8-m3.5.x_build\target\invoker-reports\*.xml
Building: project-064
[withMaven] Publishers: Generated Artifacts Publisher: 119 ms, Junit Publisher:
499 ms, Open Task Scanner Publisher: 2668 ms, Invoker Publisher: 7644 ms,
Pipeline Graph Publisher: 1 ms
[Pipeline] // withMaven
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // ws
[Pipeline] }
[Pipeline] // node
[Pipeline] }
Building: project-065
Building: project-073
Building: project-066
Building: project-067
Building: project-068
Building: project-069
Building: project-074
Building: project-075
Building: project-076
Building: project-077
Building: project-078
Building: project-070
Building: project-079
Building: project-080
Building: project-081
Building: project-071
Building: project-082
Building: project-083
Building: project-072
Building: project-084
Building: project-085
Building: project-086
Building: project-087
Building: project-073
[INFO] Tests run: 87, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 926.788
s - in org.apache.maven.plugins.ear.it.EarMojoIT
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 87, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @
maven-ear-plugin ---
[INFO] There are 3 errors reported by Checkstyle 6.18 with
config/maven_checks.xml ruleset.
[INFO] Ignored 3 errors, 0 violation remaining.
[INFO]
[INFO] --- maven-invoker-plugin:3.1.0:verify (integration-test) @
maven-ear-plugin ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO] Passed: 17, Failed: 0, Errors: 0, Skipped: 0
[INFO] -------------------------------------------------
[INFO]
[INFO] --- maven-failsafe-plugin:2.22.1:verify (default) @ maven-ear-plugin ---
[INFO] Failsafe report directory:
f:\jenkins\jenkins-slave\workspace\en-box_maven-ear-plugin_JDK-TEST@2\windows-jdk7-m3.5.x_build\target\failsafe-reports
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 22:01 min
[INFO] Finished at: 2019-04-11T00:50:51Z
[INFO] Final Memory: 85M/1233M
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated
F:\jenkins\jenkins-slave\workspace\en-box_maven-ear-plugin_JDK-TEST@2@tmp\withMaven9a696771\maven-spy-20190411-002847-9566853652188167806347.log
Picked up JAVA_TOOL_OPTIONS:
-Dmaven.ext.class.path="f:\jenkins\jenkins-slave\workspace\en-box_maven-ear-plugin_JDK-TEST@2@tmp\withMaven9a696771\pipeline-maven-spy.jar"
-Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="f:\jenkins\jenkins-slave\workspace\en-box_maven-ear-plugin_JDK-TEST@2@tmp\withMaven9a696771"
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
Building: project-074
Building: project-075
Building: project-076
[withMaven] artifactsPublisher - Archive artifact
windows-jdk7-m3.5.x_build\pom.xml under
org\apache\maven\plugins\maven-ear-plugin\3.0.2-SNAPSHOT\maven-ear-plugin-3.0.2-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact
windows-jdk7-m3.5.x_build\target\maven-ear-plugin-3.0.2-SNAPSHOT.jar under
org\apache\maven\plugins\maven-ear-plugin\3.0.2-SNAPSHOT\maven-ear-plugin-3.0.2-SNAPSHOT.jar
[Fast Archiver] No prior successful build to compare, so performing full copy
of artifacts
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.plugins:maven-ear-plugin:maven-plugin:3.0.2-SNAPSHOT generated
by maven-surefire-plugin:test (default-test):
windows-jdk7-m3.5.x_build\target\surefire-reports\*.xml
Recording test results
Building: project-077
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.plugins:maven-ear-plugin:maven-plugin:3.0.2-SNAPSHOT generated
by maven-failsafe-plugin:integration-test (default):
windows-jdk7-m3.5.x_build\target\failsafe-reports\*.xml
Recording test results
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact
org.apache.maven.plugins:maven-ear-plugin:maven-plugin:3.0.2-SNAPSHOT in source
directory windows-jdk7-m3.5.x_build\src\main\java
[TASKS] Scanning folder
'f:\jenkins\jenkins-slave\workspace\en-box_maven-ear-plugin_JDK-TEST@2' for
files matching the pattern 'windows-jdk7-m3.5.x_build\src\main\java\**\*' -
excludes: null
[TASKS] Found 35 files to scan for tasks
[TASKS] Found 5 open tasks.
Skipping warnings blame since pipelines do not have an SCM link.%n
[withMaven] invokerPublisher - Archive invoker results for Maven artifact
MavenArtifact{org.apache.maven.plugins:maven-ear-plugin:maven-plugin:3.0.2-SNAPSHOT(version:
3.0.2-SNAPSHOT, snapshot:false) } generated by
PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.1.0@integration-test
integration-test}: windows-jdk7-m3.5.x_build\target\invoker-reports\*.xml
Building: project-078
Building: project-079
[withMaven] Publishers: Generated Artifacts Publisher: 1102 ms, Junit
Publisher: 2587 ms, Open Task Scanner Publisher: 780 ms, Invoker Publisher:
20521 ms, Pipeline Graph Publisher: 1 ms
[Pipeline] // withMaven
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // ws
[Pipeline] }
[Pipeline] // node
[Pipeline] }
Building: project-080
Building: project-081
Building: project-082
Building: project-083
Building: project-084
Building: project-085
Building: project-086
Building: project-087
[INFO] Tests run: 87, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 809.301
s - in org.apache.maven.plugins.ear.it.EarMojoIT
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 87, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @
maven-ear-plugin ---
[INFO] There are 3 errors reported by Checkstyle 6.18 with
config/maven_checks.xml ruleset.
[INFO] Ignored 3 errors, 0 violation remaining.
[INFO]
[INFO] --- maven-invoker-plugin:3.1.0:verify (integration-test) @
maven-ear-plugin ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO] Passed: 17, Failed: 0, Errors: 0, Skipped: 0
[INFO] -------------------------------------------------
[INFO]
[INFO] --- maven-failsafe-plugin:2.22.1:verify (default) @ maven-ear-plugin ---
[INFO] Failsafe report directory:
f:\jenkins\jenkins-slave\workspace\en-box_maven-ear-plugin_JDK-TEST@2\windows-jdk11-m3.5.x_build\target\failsafe-reports
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17:26 min
[INFO] Finished at: 2019-04-11T00:53:08Z
[INFO] Final Memory: 45M/154M
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated
F:\jenkins\jenkins-slave\workspace\en-box_maven-ear-plugin_JDK-TEST@2@tmp\withMaven992c45d0\maven-spy-20190411-003540-9927686889404013532885.log
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[withMaven] artifactsPublisher - Archive artifact
windows-jdk11-m3.5.x_build\pom.xml under
org\apache\maven\plugins\maven-ear-plugin\3.0.2-SNAPSHOT\maven-ear-plugin-3.0.2-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact
windows-jdk11-m3.5.x_build\target\maven-ear-plugin-3.0.2-SNAPSHOT.jar under
org\apache\maven\plugins\maven-ear-plugin\3.0.2-SNAPSHOT\maven-ear-plugin-3.0.2-SNAPSHOT.jar
[Fast Archiver] No prior successful build to compare, so performing full copy
of artifacts
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.plugins:maven-ear-plugin:maven-plugin:3.0.2-SNAPSHOT generated
by maven-surefire-plugin:test (default-test):
windows-jdk11-m3.5.x_build\target\surefire-reports\*.xml
Recording test results
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.plugins:maven-ear-plugin:maven-plugin:3.0.2-SNAPSHOT generated
by maven-failsafe-plugin:integration-test (default):
windows-jdk11-m3.5.x_build\target\failsafe-reports\*.xml
Recording test results
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact
org.apache.maven.plugins:maven-ear-plugin:maven-plugin:3.0.2-SNAPSHOT in source
directory windows-jdk11-m3.5.x_build\src\main\java
[TASKS] Scanning folder
'f:\jenkins\jenkins-slave\workspace\en-box_maven-ear-plugin_JDK-TEST@2' for
files matching the pattern 'windows-jdk11-m3.5.x_build\src\main\java\**\*' -
excludes: null
[TASKS] Found 35 files to scan for tasks
[TASKS] Found 5 open tasks.
Skipping warnings blame since pipelines do not have an SCM link.%n
[withMaven] invokerPublisher - Archive invoker results for Maven artifact
MavenArtifact{org.apache.maven.plugins:maven-ear-plugin:maven-plugin:3.0.2-SNAPSHOT(version:
3.0.2-SNAPSHOT, snapshot:false) } generated by
PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.1.0@integration-test
integration-test}: windows-jdk11-m3.5.x_build\target\invoker-reports\*.xml
[withMaven] Publishers: Generated Artifacts Publisher: 139 ms, Junit Publisher:
1204 ms, Open Task Scanner Publisher: 530 ms, Invoker Publisher: 6795 ms,
Pipeline Graph Publisher: 1 ms
[Pipeline] // withMaven
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // ws
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // parallel
[Pipeline] stage
[Pipeline] { (Notifications)
[Pipeline] echo
Build result: FAILURE
[Pipeline] jiraIssueSelector
[Pipeline] emailext