See https://builds.apache.org/job/maven-box/job/maven-site-plugin/job/master/74/

Changes:

* More verbose info about build exceptions
* Verbose info about failure - add bit more
* Revert: no access to currntBuild.rawBuild

All tests passed

Build log:
[...truncated 7441 lines...]
[TASKS] Computing warning deltas based on reference build #73
[withMaven] Publishers: Generated Artifacts Publisher: 605 ms, Junit Publisher: 
256 ms, Open Task Scanner Publisher: 312 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]           template-skin\pom.xml ............................ SUCCESS 
(17.6 s)
[INFO] Building: validate\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           MSITE-627\pom.xml ................................ SUCCESS 
(18.3 s)
[INFO] Building: MSITE-644\pom.xml
[INFO]           MSITE-644\pom.xml ................................ SUCCESS 
(3.5 s)
[INFO] Building: MSITE-658\pom.xml
[INFO]           validate\pom.xml ................................. SUCCESS 
(7.7 s)
[INFO] 
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ 
maven-site-plugin ---
[INFO] run post-build script verify.groovy
[INFO]           site-sd-top-parent-no-site\pom.xml ............... SUCCESS 
(13.3 s)
[INFO] Building: site-sd-top-parent-same-site\pom.xml
[INFO] 
[INFO] --- maven-invoker-plugin:3.1.0:verify (integration-test) @ 
maven-site-plugin ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO]   Passed: 55, Failed: 0, Errors: 0, Skipped: 0
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15:38 min
[INFO] Finished at: 2019-01-31T11:20:29+00:00
[INFO] Final Memory: 63M/1160M
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated 
F:\jenkins\jenkins-slave\workspace\ven-box_maven-site-plugin_master@3@2@tmp\withMaven9b48b7a0\maven-spy-20190131-110450-3626423742810020918865.log
Picked up JAVA_TOOL_OPTIONS: 
-Dmaven.ext.class.path="f:\jenkins\jenkins-slave\workspace\ven-box_maven-site-plugin_master@3@2@tmp\withMaven9b48b7a0\pipeline-maven-spy.jar"
 
-Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="f:\jenkins\jenkins-slave\workspace\ven-box_maven-site-plugin_master@3@2@tmp\withMaven9b48b7a0"
 
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[withMaven] artifactsPublisher - Archive artifact 
windows-jdk8-m3.3.x_build\pom.xml under 
org\apache\maven\plugins\maven-site-plugin\3.8-SNAPSHOT\maven-site-plugin-3.8-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact 
windows-jdk8-m3.3.x_build\target\maven-site-plugin-3.8-SNAPSHOT.jar under 
org\apache\maven\plugins\maven-site-plugin\3.8-SNAPSHOT\maven-site-plugin-3.8-SNAPSHOT.jar
[withMaven] junitPublisher - Archive test results for Maven artifact 
org.apache.maven.plugins:maven-site-plugin:maven-plugin:3.8-SNAPSHOT generated 
by maven-surefire-plugin:test (default-test): 
windows-jdk8-m3.3.x_build\target\surefire-reports\*.xml
Recording test results
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact 
org.apache.maven.plugins:maven-site-plugin:maven-plugin:3.8-SNAPSHOT in source 
directory windows-jdk8-m3.3.x_build\src\main\java
[TASKS] Scanning folder 
'f:\jenkins\jenkins-slave\workspace\ven-box_maven-site-plugin_master@3@2' for 
files matching the pattern 'windows-jdk8-m3.3.x_build\src\main\java\**\*' - 
excludes: null
[TASKS] Found 21 files to scan for tasks
[TASKS] Found 8 open tasks.
Skipping warnings blame since pipelines do not have an SCM link.%n
[TASKS] Computing warning deltas based on reference build #73
[withMaven] Publishers: Generated Artifacts Publisher: 148 ms, Junit Publisher: 
156 ms, Open Task Scanner Publisher: 186 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]           MSITE-658\pom.xml ................................ SUCCESS 
(7.7 s)
[INFO] Building: MSITE-665\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           site-sd-top-parent-same-site\pom.xml ............. SUCCESS 
(11.6 s)
[INFO] Building: site-skip\pom.xml
[INFO]           MSITE-665\pom.xml ................................ SUCCESS 
(10.6 s)
[INFO] Building: MSITE-705-debug\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MSITE-705-debug\pom.xml .......................... SUCCESS 
(5.6 s)
[INFO] Building: MSITE-705-no-debug\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           site-skip\pom.xml ................................ SUCCESS 
(11.9 s)
[INFO] Building: surefire-report\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MSITE-705-no-debug\pom.xml ....................... SUCCESS 
(5.2 s)
[INFO] Building: MSITE-723\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MSITE-723\pom.xml ................................ SUCCESS 
(6.8 s)
[INFO] Building: new-configuration\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           surefire-report\pom.xml .......................... SUCCESS 
(13.5 s)
[INFO] Building: template-skin\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           new-configuration\pom.xml ........................ SUCCESS 
(5.4 s)
[INFO] Building: no-version\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           no-version\pom.xml ............................... SUCCESS 
(6.3 s)
[INFO] Building: report-changes-generation\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           template-skin\pom.xml ............................ SUCCESS 
(16.4 s)
[INFO] Building: validate\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           report-changes-generation\pom.xml ................ SUCCESS 
(6.8 s)
[INFO] Building: reportConfig\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           reportConfig\pom.xml ............................. SUCCESS 
(4.8 s)
[INFO] Building: resources\pom.xml
[INFO]           validate\pom.xml ................................. SUCCESS 
(8.2 s)
[INFO] 
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ 
maven-site-plugin ---
[INFO] run post-build script verify.groovy
[INFO]           resources\pom.xml ................................ SUCCESS 
(3.6 s)
[INFO] Building: site-attach-descriptor\pom.xml
[INFO] 
[INFO] --- maven-invoker-plugin:3.1.0:verify (integration-test) @ 
maven-site-plugin ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO]   Passed: 55, Failed: 0, Errors: 0, Skipped: 0
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16:31 min
[INFO] Finished at: 2019-01-31T03:21:31-08:00
[INFO] Final Memory: 63M/1004M
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated 
F:\jenkins\jenkins-slave\workspace\ven-box_maven-site-plugin_master@2@tmp\withMavenc04cdd21\maven-spy-20190131-030459-522352444398307909782.log
Picked up JAVA_TOOL_OPTIONS: 
-Dmaven.ext.class.path="f:\jenkins\jenkins-slave\workspace\ven-box_maven-site-plugin_master@2@tmp\withMavenc04cdd21\pipeline-maven-spy.jar"
 
-Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="f:\jenkins\jenkins-slave\workspace\ven-box_maven-site-plugin_master@2@tmp\withMavenc04cdd21"
 
[Pipeline] }
[INFO] run post-build script verify.bsh
[INFO]           site-attach-descriptor\pom.xml ................... SUCCESS 
(4.1 s)
[INFO] Building: site-deploy\pom.xml
[Pipeline] // dir
[Pipeline] }
[withMaven] artifactsPublisher - Archive artifact 
windows-jdk8-m3.5.x_build\pom.xml under 
org\apache\maven\plugins\maven-site-plugin\3.8-SNAPSHOT\maven-site-plugin-3.8-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact 
windows-jdk8-m3.5.x_build\target\maven-site-plugin-3.8-SNAPSHOT.jar under 
org\apache\maven\plugins\maven-site-plugin\3.8-SNAPSHOT\maven-site-plugin-3.8-SNAPSHOT.jar
[withMaven] junitPublisher - Archive test results for Maven artifact 
org.apache.maven.plugins:maven-site-plugin:maven-plugin:3.8-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-site-plugin:maven-plugin:3.8-SNAPSHOT in source 
directory windows-jdk8-m3.5.x_build\src\main\java
[TASKS] Scanning folder 
'f:\jenkins\jenkins-slave\workspace\ven-box_maven-site-plugin_master@2' for 
files matching the pattern 'windows-jdk8-m3.5.x_build\src\main\java\**\*' - 
excludes: null
[TASKS] Found 21 files to scan for tasks
[TASKS] Found 8 open tasks.
Skipping warnings blame since pipelines do not have an SCM link.%n
[TASKS] Computing warning deltas based on reference build #73
[withMaven] Publishers: Generated Artifacts Publisher: 154 ms, Junit Publisher: 
174 ms, Open Task Scanner Publisher: 259 ms, Dependencies Fingerprint 
Publisher: 1 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]           site-deploy\pom.xml .............................. SUCCESS 
(4.0 s)
[INFO] Building: site-inheritance\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           site-inheritance\pom.xml ......................... SUCCESS 
(8.1 s)
[INFO] Building: site-jar\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           site-jar\pom.xml ................................. SUCCESS 
(4.5 s)
[INFO] Building: site-sd\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           site-sd\pom.xml .................................. SUCCESS 
(6.0 s)
[INFO] Building: site-sd-2\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           site-sd-2\pom.xml ................................ SUCCESS 
(10.6 s)
[INFO] Building: site-sd-lang\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           site-sd-lang\pom.xml ............................. SUCCESS 
(7.9 s)
[INFO] Building: site-sd-stagingSiteURL\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           site-sd-stagingSiteURL\pom.xml ................... SUCCESS 
(5.2 s)
[INFO] Building: site-sd-submodule\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           site-sd-submodule\pom.xml ........................ SUCCESS 
(6.7 s)
[INFO] Building: site-sd-top-parent-different-site\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           site-sd-top-parent-different-site\pom.xml ........ SUCCESS 
(6.3 s)
[INFO] Building: site-sd-top-parent-no-site\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           site-sd-top-parent-no-site\pom.xml ............... SUCCESS 
(7.0 s)
[INFO] Building: site-sd-top-parent-same-site\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           site-sd-top-parent-same-site\pom.xml ............. SUCCESS 
(5.7 s)
[INFO] Building: site-skip\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           site-skip\pom.xml ................................ SUCCESS 
(6.1 s)
[INFO] Building: surefire-report\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           surefire-report\pom.xml .......................... SUCCESS 
(7.0 s)
[INFO] Building: template-skin\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           template-skin\pom.xml ............................ SUCCESS 
(7.6 s)
[INFO] Building: validate\pom.xml
[INFO]           validate\pom.xml ................................. SUCCESS 
(4.5 s)
[INFO] 
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ 
maven-site-plugin ---
[INFO] 
[INFO] --- maven-invoker-plugin:3.1.0:verify (integration-test) @ 
maven-site-plugin ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO]   Passed: 55, Failed: 0, Errors: 0, Skipped: 0
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 08:40 min
[INFO] Finished at: 2019-01-31T11:23:10Z
[INFO] Final Memory: 49M/174M
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated 
F:\jenkins\jenkins-slave\workspace\ven-box_maven-site-plugin_master@2@tmp\withMaven2cb6d69e\maven-spy-20190131-111429-24412182785212409273312.log
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[withMaven] artifactsPublisher - Archive artifact 
windows-jdk11-m3.5.x_build\pom.xml under 
org\apache\maven\plugins\maven-site-plugin\3.8-SNAPSHOT\maven-site-plugin-3.8-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact 
windows-jdk11-m3.5.x_build\target\maven-site-plugin-3.8-SNAPSHOT.jar under 
org\apache\maven\plugins\maven-site-plugin\3.8-SNAPSHOT\maven-site-plugin-3.8-SNAPSHOT.jar
[withMaven] junitPublisher - Archive test results for Maven artifact 
org.apache.maven.plugins:maven-site-plugin:maven-plugin:3.8-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-site-plugin:maven-plugin:3.8-SNAPSHOT in source 
directory windows-jdk11-m3.5.x_build\src\main\java
[TASKS] Scanning folder 
'f:\jenkins\jenkins-slave\workspace\ven-box_maven-site-plugin_master@2' for 
files matching the pattern 'windows-jdk11-m3.5.x_build\src\main\java\**\*' - 
excludes: null
[TASKS] Found 21 files to scan for tasks
[TASKS] Found 8 open tasks.
Skipping warnings blame since pipelines do not have an SCM link.%n
[TASKS] Computing warning deltas based on reference build #73
[withMaven] Publishers: Generated Artifacts Publisher: 661 ms, Junit Publisher: 
1200 ms, Open Task Scanner Publisher: 867 ms, Dependencies Fingerprint 
Publisher: 1 ms, Pipeline Graph Publisher: 83 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

Reply via email to