See https://builds.apache.org/job/maven-box/job/maven-war-plugin/job/master/52/

Changes:

* use publisherStrategy: 'EXPLICIT' to avoid non used publishers
* [INFRA-17514] Fix file separator + add other locations for workspaces
* fix indent
* use a special local repo to have a bit of caching
* add mavenLinkerPublisher

All tests passed

Build log:
[...truncated 6958 lines...]
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 04:23 min
[INFO] Finished at: 2019-01-02T23:05:23Z
[INFO] Final Memory: 56M/1120M
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated 
F:\jenkins\jenkins-slave\workspace\aven-box_maven-war-plugin_master@2@tmp\withMaven2c6bd95b\maven-spy-20190102-230059-6264630321621125780823.log
Picked up JAVA_TOOL_OPTIONS: 
-Dmaven.ext.class.path="f:\jenkins\jenkins-slave\workspace\aven-box_maven-war-plugin_master@2@tmp\withMaven2c6bd95b\pipeline-maven-spy.jar"
 
-Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="f:\jenkins\jenkins-slave\workspace\aven-box_maven-war-plugin_master@2@tmp\withMaven2c6bd95b"
 
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[withMaven] artifactsPublisher - Archive artifact 
windows-jdk7-m3.5.x_build\pom.xml under 
org\apache\maven\plugins\maven-war-plugin\3.2.3-SNAPSHOT\maven-war-plugin-3.2.3-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact 
windows-jdk7-m3.5.x_build\target\maven-war-plugin-3.2.3-SNAPSHOT.jar under 
org\apache\maven\plugins\maven-war-plugin\3.2.3-SNAPSHOT\maven-war-plugin-3.2.3-SNAPSHOT.jar
[withMaven] junitPublisher - Archive test results for Maven artifact 
org.apache.maven.plugins:maven-war-plugin:maven-plugin:3.2.3-SNAPSHOT generated 
by maven-surefire-plugin:test (default-test): 
windows-jdk7-m3.5.x_build\target\surefire-reports\*.xml
Recording test results
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact 
org.apache.maven.plugins:maven-war-plugin:maven-plugin:3.2.3-SNAPSHOT in source 
directory windows-jdk7-m3.5.x_build\src\main\java
[TASKS] Scanning folder 
'f:\jenkins\jenkins-slave\workspace\aven-box_maven-war-plugin_master@2' for 
files matching the pattern 'windows-jdk7-m3.5.x_build\src\main\java\**\*' - 
excludes: null
[TASKS] Found 25 files to scan for tasks
[TASKS] Found 3 open tasks.
Skipping warnings blame since pipelines do not have an SCM link.%n
[TASKS] Computing warning deltas based on reference build #50
[withMaven] invokerPublisher - Archive invoker results for Maven artifact 
MavenArtifact{org.apache.maven.plugins:maven-war-plugin:maven-plugin:3.2.3-SNAPSHOT(version:
 3.2.3-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
[INFO] run post-build script verify.bsh
[INFO]           MWAR-396_servlet30\pom.xml ....................... SUCCESS 
(8.3 s)
[INFO] Building: MWAR-62\pom.xml
[withMaven] Publishers: Generated Artifacts Publisher: 171 ms, Junit Publisher: 
607 ms, Open Task Scanner Publisher: 150 ms, Invoker Publisher: 7736 ms, 
Pipeline Graph Publisher: 1 ms
[Pipeline] // withMaven
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
ERROR: Cannot delete workspace 
:f:\jenkins\jenkins-slave\workspace\aven-box_maven-war-plugin_master@2\windows-jdk7-m3.5.x_build\target\invoker-reports\BUILD-default.xml
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // ws
[Pipeline] }
[Pipeline] // node
[Pipeline] }
Failed in branch windows-jdk7-m3.5.x_build
[INFO] run post-build script verify.bsh
[INFO]           MWAR-62\pom.xml .................................. SUCCESS 
(5.4 s)
[INFO] Building: MWAR-96\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           MWAR-96\pom.xml .................................. SUCCESS 
(7.2 s)
[INFO] Building: overlay-excludes\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           default\pom.xml .................................. SUCCESS 
(22.5 s)
[INFO] Building: manifest-content\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           overlay-excludes\pom.xml ......................... SUCCESS 
(7.3 s)
[INFO] Building: overlay-keeps-contextxml\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           manifest-content\pom.xml ......................... SUCCESS 
(10.2 s)
[INFO] Building: MWAR-128\pom.xml
[INFO] run pre-build script prebuild.groovy
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by 
org.codehaus.groovy.reflection.CachedClass 
(file:/f:/jenkins/jenkins-slave/workspace/.maven_repositories/null/org/codehaus/groovy/groovy-all/2.4.8/groovy-all-2.4.8.jar)
 to method java.lang.Object.finalize()
WARNING: Please consider reporting this to the maintainers of 
org.codehaus.groovy.reflection.CachedClass
WARNING: Use --illegal-access=warn to enable warnings of further illegal 
reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO] run post-build script verify.bsh
[INFO]           overlay-keeps-contextxml\pom.xml ................. SUCCESS 
(7.5 s)
[INFO] Building: scoped-dependency-same-artifact\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           scoped-dependency-same-artifact\pom.xml .......... SUCCESS 
(8.3 s)
[INFO] Building: simple-war-no-webxml\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MWAR-128\pom.xml ................................. SUCCESS 
(13.2 s)
[INFO] Building: MWAR-129\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           simple-war-no-webxml\pom.xml ..................... SUCCESS 
(7.2 s)
[INFO] Building: simple-war-project\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           MWAR-129\pom.xml ................................. SUCCESS 
(7.2 s)
[INFO] Building: MWAR-131\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           simple-war-project\pom.xml ....................... SUCCESS 
(7.3 s)
[INFO] Building: web-resources-filtering\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           web-resources-filtering\pom.xml .................. SUCCESS 
(6.4 s)
[INFO] Building: web-resources-filtering-delimiter\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           MWAR-131\pom.xml ................................. SUCCESS 
(16.6 s)
[INFO] Building: MWAR-133\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           web-resources-filtering-delimiter\pom.xml ........ SUCCESS 
(8.3 s)
[INFO] 
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ 
maven-war-plugin ---
[INFO] There is 1 error reported by Checkstyle 6.18 with 
config/maven_checks.xml ruleset.
[INFO] Ignored 1 error, 0 violation remaining.
[INFO] 
[INFO] --- maven-invoker-plugin:3.1.0:verify (integration-test) @ 
maven-war-plugin ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO]   Passed: 26, Failed: 0, Errors: 0, Skipped: 0
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 04:16 min
[INFO] Finished at: 2019-01-02T23:06:38Z
[INFO] Final Memory: 51M/811M
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated 
F:\jenkins\jenkins-slave\workspace\aven-box_maven-war-plugin_master@3@2@tmp\withMaven98619f1a\maven-spy-20190102-230220-6481266885274027328623.log
Picked up JAVA_TOOL_OPTIONS: 
-Dmaven.ext.class.path="f:\jenkins\jenkins-slave\workspace\aven-box_maven-war-plugin_master@3@2@tmp\withMaven98619f1a\pipeline-maven-spy.jar"
 
-Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="f:\jenkins\jenkins-slave\workspace\aven-box_maven-war-plugin_master@3@2@tmp\withMaven98619f1a"
 
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[withMaven] artifactsPublisher - Archive artifact 
windows-jdk8-m3.5.x_build\pom.xml under 
org\apache\maven\plugins\maven-war-plugin\3.2.3-SNAPSHOT\maven-war-plugin-3.2.3-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact 
windows-jdk8-m3.5.x_build\target\maven-war-plugin-3.2.3-SNAPSHOT.jar under 
org\apache\maven\plugins\maven-war-plugin\3.2.3-SNAPSHOT\maven-war-plugin-3.2.3-SNAPSHOT.jar
[withMaven] junitPublisher - Archive test results for Maven artifact 
org.apache.maven.plugins:maven-war-plugin:maven-plugin:3.2.3-SNAPSHOT generated 
by maven-surefire-plugin:test (default-test): 
windows-jdk8-m3.5.x_build\target\surefire-reports\*.xml
Recording test results
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact 
org.apache.maven.plugins:maven-war-plugin:maven-plugin:3.2.3-SNAPSHOT in source 
directory windows-jdk8-m3.5.x_build\src\main\java
[TASKS] Scanning folder 
'f:\jenkins\jenkins-slave\workspace\aven-box_maven-war-plugin_master@3@2' for 
files matching the pattern 'windows-jdk8-m3.5.x_build\src\main\java\**\*' - 
excludes: null
[TASKS] Found 25 files to scan for tasks
[TASKS] Found 3 open tasks.
Skipping warnings blame since pipelines do not have an SCM link.%n
[TASKS] Computing warning deltas based on reference build #50
[INFO] run post-build script verify.bsh
[INFO]           MWAR-133\pom.xml ................................. SUCCESS 
(8.7 s)
[INFO] Building: MWAR-139\pom.xml
[withMaven] invokerPublisher - Archive invoker results for Maven artifact 
MavenArtifact{org.apache.maven.plugins:maven-war-plugin:maven-plugin:3.2.3-SNAPSHOT(version:
 3.2.3-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
[withMaven] Publishers: Generated Artifacts Publisher: 126 ms, Junit Publisher: 
601 ms, Open Task Scanner Publisher: 289 ms, Invoker Publisher: 7008 ms, 
Pipeline Graph Publisher: 1 ms
[Pipeline] // withMaven
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
ERROR: Cannot delete workspace 
:f:\jenkins\jenkins-slave\workspace\aven-box_maven-war-plugin_master@3@2\windows-jdk8-m3.5.x_build\target\invoker-reports\BUILD-default.xml
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // ws
[Pipeline] }
[Pipeline] // node
[Pipeline] }
Failed in branch windows-jdk8-m3.5.x_build
[INFO] run post-build script verify.bsh
[INFO]           MWAR-139\pom.xml ................................. SUCCESS 
(8.5 s)
[INFO] Building: MWAR-143\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           MWAR-143\pom.xml ................................. SUCCESS 
(12.9 s)
[INFO] Building: MWAR-167\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           MWAR-167\pom.xml ................................. SUCCESS 
(6.8 s)
[INFO] Building: MWAR-240\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           MWAR-240\pom.xml ................................. SUCCESS 
(10.2 s)
[INFO] Building: MWAR-306\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MWAR-306\pom.xml ................................. SUCCESS 
(10.7 s)
[INFO] Building: MWAR-311\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MWAR-311\pom.xml ................................. SUCCESS 
(9.7 s)
[INFO] Building: MWAR-326\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           MWAR-326\pom.xml ................................. SUCCESS 
(14.3 s)
[INFO] Building: MWAR-350\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           MWAR-350\pom.xml ................................. SUCCESS 
(11.0 s)
[INFO] Building: MWAR-371\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MWAR-371\pom.xml ................................. SUCCESS 
(10.0 s)
[INFO] Building: MWAR-396_no-servlet30\pom.xml
[INFO]           MWAR-396_no-servlet30\pom.xml .................... SUCCESS 
(10.6 s)
[INFO] Building: MWAR-396_servlet30\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           MWAR-396_servlet30\pom.xml ....................... SUCCESS 
(10.6 s)
[INFO] Building: MWAR-62\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           MWAR-62\pom.xml .................................. SUCCESS 
(6.4 s)
[INFO] Building: MWAR-96\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           MWAR-96\pom.xml .................................. SUCCESS 
(8.6 s)
[INFO] Building: overlay-excludes\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           overlay-excludes\pom.xml ......................... SUCCESS 
(9.0 s)
[INFO] Building: overlay-keeps-contextxml\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           overlay-keeps-contextxml\pom.xml ................. SUCCESS 
(9.9 s)
[INFO] Building: scoped-dependency-same-artifact\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           scoped-dependency-same-artifact\pom.xml .......... SUCCESS 
(11.3 s)
[INFO] Building: simple-war-no-webxml\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           simple-war-no-webxml\pom.xml ..................... SUCCESS 
(9.3 s)
[INFO] Building: simple-war-project\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           simple-war-project\pom.xml ....................... SUCCESS 
(8.7 s)
[INFO] Building: web-resources-filtering\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           web-resources-filtering\pom.xml .................. SUCCESS 
(9.8 s)
[INFO] Building: web-resources-filtering-delimiter\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           web-resources-filtering-delimiter\pom.xml ........ SUCCESS 
(9.4 s)
[INFO] 
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ 
maven-war-plugin ---
[INFO] There is 1 error reported by Checkstyle 6.18 with 
config/maven_checks.xml ruleset.
[INFO] Ignored 1 error, 0 violation remaining.
[INFO] 
[INFO] --- maven-invoker-plugin:3.1.0:verify (integration-test) @ 
maven-war-plugin ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO]   Passed: 26, Failed: 0, Errors: 0, Skipped: 0
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 05:32 min
[INFO] Finished at: 2019-01-02T23:10:01Z
[INFO] Final Memory: 43M/150M
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated 
F:\jenkins\jenkins-slave\workspace\aven-box_maven-war-plugin_master@2@tmp\withMavenccbe17aa\maven-spy-20190102-230427-8229218608011685175637.log
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[withMaven] artifactsPublisher - Archive artifact 
windows-jdk11-m3.5.x_build\pom.xml under 
org\apache\maven\plugins\maven-war-plugin\3.2.3-SNAPSHOT\maven-war-plugin-3.2.3-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact 
windows-jdk11-m3.5.x_build\target\maven-war-plugin-3.2.3-SNAPSHOT.jar under 
org\apache\maven\plugins\maven-war-plugin\3.2.3-SNAPSHOT\maven-war-plugin-3.2.3-SNAPSHOT.jar
[withMaven] junitPublisher - Archive test results for Maven artifact 
org.apache.maven.plugins:maven-war-plugin:maven-plugin:3.2.3-SNAPSHOT generated 
by maven-surefire-plugin:test (default-test): 
windows-jdk11-m3.5.x_build\target\surefire-reports\*.xml
Recording test results
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact 
org.apache.maven.plugins:maven-war-plugin:maven-plugin:3.2.3-SNAPSHOT in source 
directory windows-jdk11-m3.5.x_build\src\main\java
[TASKS] Scanning folder 
'f:\jenkins\jenkins-slave\workspace\aven-box_maven-war-plugin_master@2' for 
files matching the pattern 'windows-jdk11-m3.5.x_build\src\main\java\**\*' - 
excludes: null
[TASKS] Found 25 files to scan for tasks
[TASKS] Found 3 open tasks.
Skipping warnings blame since pipelines do not have an SCM link.%n
[TASKS] Computing warning deltas based on reference build #50
[withMaven] invokerPublisher - Archive invoker results for Maven artifact 
MavenArtifact{org.apache.maven.plugins:maven-war-plugin:maven-plugin:3.2.3-SNAPSHOT(version:
 3.2.3-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: 154 ms, Junit Publisher: 
620 ms, Open Task Scanner Publisher: 172 ms, Invoker Publisher: 14582 ms
[Pipeline] // withMaven
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
ERROR: Cannot delete workspace 
:f:\jenkins\jenkins-slave\workspace\aven-box_maven-war-plugin_master@2\windows-jdk11-m3.5.x_build\target\invoker-reports\BUILD-default.xml
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // ws
[Pipeline] }
[Pipeline] // node
[Pipeline] }
Failed in branch windows-jdk11-m3.5.x_build
[Pipeline] // parallel
[Pipeline] stage
[Pipeline] { (Notifications)
[Pipeline] echo
Build result: FAILURE
[Pipeline] jiraIssueSelector
[Pipeline] emailext

Reply via email to