See
https://ci-builds.apache.org/job/Maven/job/maven-box/job/maven-jar-plugin/job/master/19/
Changes:
* Add Java 16 to available runtimes
* Added JDK 16 for Windows
* Java 16-ea has not been installed on the Windows Jenkins hosts yet.
* introduce optional tmpWs for Windows to prevent long path failures
* fix }
* don't pick up tmpWs from a context
* Revert "don't pick up tmpWs from a context"
* Spaces instead of tabs
* introduce optional tmpWs
* pwd() doesn't seem to work on slaves?
* Using $WORKSPACE instead of env.WORKSPACE as this could behave inconsistent
when used on parallel nodes.
* Attempting to get the right workspace directory in parallel nodes using a
withEnv block.
* Attempting to get the right workspace directory in parallel nodes using a
withEnv block. fix; envs should be prefixed with the `env.` prefix.
* Using !isUnix() to check whether the node is running Windows or not
* Shorten the windows filepath even further
* Restored the full default jdk matrix including the current and ea version
* Restored the full maven version matrix default
All tests passed
Build log:
[...truncated 42577 lines...]
[Pipeline] }
[withMaven] artifactsPublisher - Archive artifact
windows-jdk7-m3.6.x_build\pom.xml under
org\apache\maven\plugins\maven-jar-plugin\3.2.1-SNAPSHOT\maven-jar-plugin-3.2.1-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact
windows-jdk7-m3.6.x_build\target\maven-jar-plugin-3.2.1-SNAPSHOT.jar under
org\apache\maven\plugins\maven-jar-plugin\3.2.1-SNAPSHOT\maven-jar-plugin-3.2.1-SNAPSHOT.jar
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.plugins:maven-jar-plugin:maven-plugin:3.2.1-SNAPSHOT generated
by maven-surefire-plugin:test (default-test):
windows-jdk7-m3.6.x_build\target\surefire-reports\*.xml
Recording test results
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact
org.apache.maven.plugins:maven-jar-plugin:maven-plugin:3.2.1-SNAPSHOT in source
directory windows-jdk7-m3.6.x_build\src\main\java
[TASKS] Scanning folder
'f:\jenkins\jenkins-slave\712657a4\workspace\aven-box_maven-jar-plugin_master@3@2'
for files matching the pattern 'windows-jdk7-m3.6.x_build\src\main\java\**\*'
- excludes: null
[TASKS] Found 3 files to scan for tasks
[TASKS] Found 1 open tasks.
Skipping warnings blame since pipelines do not have an SCM link.%n
[TASKS] Computing warning deltas based on reference build #18
[withMaven] invokerPublisher - Archive invoker results for Maven artifact
MavenArtifact{org.apache.maven.plugins:maven-jar-plugin:maven-plugin:3.2.1-SNAPSHOT(version:
3.2.1-SNAPSHOT, snapshot:false) } generated by
PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.2.1@integration-test
integration-test}: windows-jdk7-m3.6.x_build\target\invoker-reports\*.xml
[INFO] run post-build script verify.bsh
[INFO] mjar-71-02\pom.xml ............................... SUCCESS
(4.9 s)
[INFO] Building: MJAR-75\pom.xml
[INFO] run post-build script verify.bsh
[INFO] MJAR-82\pom.xml .................................. SUCCESS
(8.3 s)
[INFO] Building: mjar-90\pom.xml
[INFO] MJAR-210\pom.xml ................................. SUCCESS
(4.8 s)
[INFO] Building: MJAR-228\pom.xml
[INFO] MJAR-75\pom.xml .................................. SUCCESS
(5.5 s)
[INFO] Building: MJAR-80-exclude\pom.xml
[INFO] run post-build script verify.bsh
[INFO] mjar-90\pom.xml .................................. SUCCESS
(5.5 s)
[INFO] Building: project-004\pom.xml
[INFO] run post-build script verify.bsh
[INFO] MJAR-228\pom.xml ................................. SUCCESS
(6.0 s)
[INFO] Building: MJAR-238-modular-jar-main-class\pom.xml
[withMaven] Publishers: Generated Artifacts Publisher: 447 ms, Junit Publisher:
242 ms, Open Task Scanner Publisher: 106 ms, Invoker Publisher: 9584 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] }
[INFO] run post-build script verify.bsh
[INFO] MJAR-80-exclude\pom.xml .......................... SUCCESS
(6.1 s)
[INFO] Building: MJAR-80-fullcontent\pom.xml
[INFO] run post-build script verify.bsh
[INFO] project-004\pom.xml .............................. SUCCESS
(4.7 s)
[INFO]
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @
maven-jar-plugin ---
[INFO]
[INFO] --- maven-invoker-plugin:3.2.1:verify (integration-test) @
maven-jar-plugin ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO] Passed: 26, Failed: 0, Errors: 0, Skipped: 1
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:54 min
[INFO] Finished at: 2020-10-07T01:17:48-07:00
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated
F:\jenkins\jenkins-slave\712657a4\workspace\aven-box_maven-jar-plugin_master@2@tmp\withMaven0a5721a9\maven-spy-20201007-011452-8831596792665763605938.log
Picked up JAVA_TOOL_OPTIONS:
-Dmaven.ext.class.path="f:\jenkins\jenkins-slave\712657a4\workspace\aven-box_maven-jar-plugin_master@2@tmp\withMaven0a5721a9\pipeline-maven-spy.jar"
-Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="f:\jenkins\jenkins-slave\712657a4\workspace\aven-box_maven-jar-plugin_master@2@tmp\withMaven0a5721a9"
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[withMaven] artifactsPublisher - Archive artifact
windows-jdk8-m3.6.x_build\pom.xml under
org\apache\maven\plugins\maven-jar-plugin\3.2.1-SNAPSHOT\maven-jar-plugin-3.2.1-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact
windows-jdk8-m3.6.x_build\target\maven-jar-plugin-3.2.1-SNAPSHOT.jar under
org\apache\maven\plugins\maven-jar-plugin\3.2.1-SNAPSHOT\maven-jar-plugin-3.2.1-SNAPSHOT.jar
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.plugins:maven-jar-plugin:maven-plugin:3.2.1-SNAPSHOT generated
by maven-surefire-plugin:test (default-test):
windows-jdk8-m3.6.x_build\target\surefire-reports\*.xml
Recording test results
[INFO] run post-build script verify.bsh
[INFO] MJAR-238-modular-jar-main-class\pom.xml .......... SUCCESS
(5.7 s)
[INFO] Building: MJAR-260-invalid-automatic-module-name\pom.xml
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact
org.apache.maven.plugins:maven-jar-plugin:maven-plugin:3.2.1-SNAPSHOT in source
directory windows-jdk8-m3.6.x_build\src\main\java
[TASKS] Scanning folder
'f:\jenkins\jenkins-slave\712657a4\workspace\aven-box_maven-jar-plugin_master@2'
for files matching the pattern 'windows-jdk8-m3.6.x_build\src\main\java\**\*'
- excludes: null
[TASKS] Found 3 files to scan for tasks
[TASKS] Found 1 open tasks.
Skipping warnings blame since pipelines do not have an SCM link.%n
[TASKS] Computing warning deltas based on reference build #18
[withMaven] invokerPublisher - Archive invoker results for Maven artifact
MavenArtifact{org.apache.maven.plugins:maven-jar-plugin:maven-plugin:3.2.1-SNAPSHOT(version:
3.2.1-SNAPSHOT, snapshot:false) } generated by
PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.2.1@integration-test
integration-test}: windows-jdk8-m3.6.x_build\target\invoker-reports\*.xml
[INFO] run post-build script verify.bsh
[INFO] MJAR-80-fullcontent\pom.xml ...................... SUCCESS
(6.3 s)
[INFO] Building: MJAR-80-include\pom.xml
[INFO] run post-build script verify.bsh
[INFO] MJAR-260-invalid-automatic-module-name\pom.xml ... SUCCESS
(5.9 s)
[INFO] Building: MJAR-260-valid-automatic-module-name\pom.xml
[INFO] run post-build script verify.bsh
[INFO] MJAR-80-include\pom.xml .......................... SUCCESS
(6.0 s)
[INFO] Building: MJAR-82\pom.xml
[withMaven] Publishers: Generated Artifacts Publisher: 420 ms, Junit Publisher:
267 ms, Open Task Scanner Publisher: 106 ms, Invoker Publisher: 10627 ms,
Pipeline Graph Publisher: 3 ms
[Pipeline] // withMaven
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[INFO] run post-build script verify.bsh
[INFO] MJAR-260-valid-automatic-module-name\pom.xml ..... SUCCESS
(5.7 s)
[INFO] Building: MJAR-30-excludes\pom.xml
[Pipeline] // ws
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[INFO] run post-build script verify.bsh
[INFO] MJAR-82\pom.xml .................................. SUCCESS
(7.8 s)
[INFO] Building: mjar-90\pom.xml
[INFO] run post-build script verify.bsh
[INFO] MJAR-30-excludes\pom.xml ......................... SUCCESS
(9.7 s)
[INFO] Building: MJAR-30-fullcontent\pom.xml
[INFO] run post-build script verify.bsh
[INFO] mjar-90\pom.xml .................................. SUCCESS
(6.2 s)
[INFO] Building: project-004\pom.xml
[INFO] run post-build script verify.bsh
[INFO] MJAR-30-fullcontent\pom.xml ...................... SUCCESS
(6.5 s)
[INFO] Building: MJAR-30-include\pom.xml
[INFO] run post-build script verify.bsh
[INFO] project-004\pom.xml .............................. SUCCESS
(5.2 s)
[INFO]
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @
maven-jar-plugin ---
[INFO]
[INFO] --- maven-invoker-plugin:3.2.1:verify (integration-test) @
maven-jar-plugin ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO] Passed: 26, Failed: 0, Errors: 0, Skipped: 1
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:06 min
[INFO] Finished at: 2020-10-07T01:18:18-07:00
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated
F:\jenkins\jenkins-slave\712657a4\workspace\aven-box_maven-jar-plugin_master@2@tmp\withMaven2bf10a6f\maven-spy-20201007-011512-1201432108760105670766.log
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[withMaven] artifactsPublisher - Archive artifact
windows-jdk11-m3.6.x_build\pom.xml under
org\apache\maven\plugins\maven-jar-plugin\3.2.1-SNAPSHOT\maven-jar-plugin-3.2.1-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact
windows-jdk11-m3.6.x_build\target\maven-jar-plugin-3.2.1-SNAPSHOT.jar under
org\apache\maven\plugins\maven-jar-plugin\3.2.1-SNAPSHOT\maven-jar-plugin-3.2.1-SNAPSHOT.jar
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.plugins:maven-jar-plugin:maven-plugin:3.2.1-SNAPSHOT generated
by maven-surefire-plugin:test (default-test):
windows-jdk11-m3.6.x_build\target\surefire-reports\*.xml
Recording test results
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact
org.apache.maven.plugins:maven-jar-plugin:maven-plugin:3.2.1-SNAPSHOT in source
directory windows-jdk11-m3.6.x_build\src\main\java
[TASKS] Scanning folder
'f:\jenkins\jenkins-slave\712657a4\workspace\aven-box_maven-jar-plugin_master@2'
for files matching the pattern 'windows-jdk11-m3.6.x_build\src\main\java\**\*'
- excludes: null
[TASKS] Found 3 files to scan for tasks
[TASKS] Found 1 open tasks.
Skipping warnings blame since pipelines do not have an SCM link.%n
[TASKS] Computing warning deltas based on reference build #18
[withMaven] invokerPublisher - Archive invoker results for Maven artifact
MavenArtifact{org.apache.maven.plugins:maven-jar-plugin:maven-plugin:3.2.1-SNAPSHOT(version:
3.2.1-SNAPSHOT, snapshot:false) } generated by
PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.2.1@integration-test
integration-test}: windows-jdk11-m3.6.x_build\target\invoker-reports\*.xml
[INFO] run post-build script verify.bsh
[INFO] MJAR-30-include\pom.xml .......................... SUCCESS
(6.0 s)
[INFO] Building: MJAR-60\pom.xml
[INFO] run post-build script verify.bsh
[INFO] MJAR-60\pom.xml .................................. SUCCESS
(5.7 s)
[INFO] Building: MJAR-70-no-recreation\pom.xml
[INFO] MJAR-70-no-recreation\pom.xml .................... SKIPPED due
to JRE version
[INFO] Building: MJAR-70-recreation\pom.xml
[withMaven] Publishers: Generated Artifacts Publisher: 656 ms, Junit Publisher:
227 ms, Open Task Scanner Publisher: 105 ms, Invoker Publisher: 9219 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] }
[INFO] run post-build script verify.bsh
[INFO] MJAR-70-recreation\pom.xml ....................... SUCCESS
(10.3 s)
[INFO] Building: mjar-71-01\pom.xml
[INFO] run post-build script verify.bsh
[INFO] mjar-71-01\pom.xml ............................... SUCCESS
(6.9 s)
[INFO] Building: mjar-71-02\pom.xml
[INFO] run post-build script verify.bsh
[INFO] mjar-71-02\pom.xml ............................... SUCCESS
(5.2 s)
[INFO] Building: MJAR-75\pom.xml
[INFO] MJAR-75\pom.xml .................................. SUCCESS
(6.0 s)
[INFO] Building: MJAR-80-exclude\pom.xml
[INFO] run post-build script verify.bsh
[INFO] MJAR-80-exclude\pom.xml .......................... SUCCESS
(5.9 s)
[INFO] Building: MJAR-80-fullcontent\pom.xml
[INFO] run post-build script verify.bsh
[INFO] MJAR-80-fullcontent\pom.xml ...................... SUCCESS
(6.3 s)
[INFO] Building: MJAR-80-include\pom.xml
[INFO] run post-build script verify.bsh
[INFO] MJAR-80-include\pom.xml .......................... SUCCESS
(6.7 s)
[INFO] Building: MJAR-82\pom.xml
[INFO] run post-build script verify.bsh
[INFO] MJAR-82\pom.xml .................................. SUCCESS
(8.9 s)
[INFO] Building: mjar-90\pom.xml
[INFO] run post-build script verify.bsh
[INFO] mjar-90\pom.xml .................................. SUCCESS
(7.2 s)
[INFO] Building: project-004\pom.xml
[INFO] run post-build script verify.bsh
[INFO] project-004\pom.xml .............................. SUCCESS
(6.3 s)
[INFO]
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @
maven-jar-plugin ---
[INFO]
[INFO] --- maven-invoker-plugin:3.2.1:verify (integration-test) @
maven-jar-plugin ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO] Passed: 26, Failed: 0, Errors: 0, Skipped: 1
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:23 min
[INFO] Finished at: 2020-10-07T01:19:40-07:00
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated
F:\jenkins\jenkins-slave\712657a4\workspace\aven-box_maven-jar-plugin_master@2@tmp\withMavenf9e9aa6a\maven-spy-20201007-011617-6341370130301747751698.log
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[withMaven] artifactsPublisher - Archive artifact
windows-jdk15-m3.6.x_build\pom.xml under
org\apache\maven\plugins\maven-jar-plugin\3.2.1-SNAPSHOT\maven-jar-plugin-3.2.1-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact
windows-jdk15-m3.6.x_build\target\maven-jar-plugin-3.2.1-SNAPSHOT.jar under
org\apache\maven\plugins\maven-jar-plugin\3.2.1-SNAPSHOT\maven-jar-plugin-3.2.1-SNAPSHOT.jar
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.plugins:maven-jar-plugin:maven-plugin:3.2.1-SNAPSHOT generated
by maven-surefire-plugin:test (default-test):
windows-jdk15-m3.6.x_build\target\surefire-reports\*.xml
Recording test results
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact
org.apache.maven.plugins:maven-jar-plugin:maven-plugin:3.2.1-SNAPSHOT in source
directory windows-jdk15-m3.6.x_build\src\main\java
[TASKS] Scanning folder
'f:\jenkins\jenkins-slave\712657a4\workspace\aven-box_maven-jar-plugin_master@2'
for files matching the pattern 'windows-jdk15-m3.6.x_build\src\main\java\**\*'
- excludes: null
[TASKS] Found 3 files to scan for tasks
[TASKS] Found 1 open tasks.
Skipping warnings blame since pipelines do not have an SCM link.%n
[TASKS] Computing warning deltas based on reference build #18
[withMaven] invokerPublisher - Archive invoker results for Maven artifact
MavenArtifact{org.apache.maven.plugins:maven-jar-plugin:maven-plugin:3.2.1-SNAPSHOT(version:
3.2.1-SNAPSHOT, snapshot:false) } generated by
PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.2.1@integration-test
integration-test}: windows-jdk15-m3.6.x_build\target\invoker-reports\*.xml
[withMaven] Publishers: Generated Artifacts Publisher: 543 ms, Junit Publisher:
228 ms, Open Task Scanner Publisher: 130 ms, Invoker Publisher: 9562 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] echo
The authors of changes [mthmulders, martinkanters, rfscholte].
[Pipeline] echo
Sending email ...
[Pipeline] emailext