See 
https://builds.apache.org/job/maven-box/job/maven-checkstyle-plugin/job/master/44/

Changes:

* use a special local repo to have a bit of caching
* add mavenLinkerPublisher

All tests passed

Build log:
[...truncated 3816 lines...]
[INFO] Building jar: 
f:\jenkins\jenkins-slave\workspace\x_maven-checkstyle-plugin_master@3@2\windows-jdk11-m3.5.x_build\target\maven-checkstyle-plugin-3.0.1-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-plugin-plugin:3.5:addPluginArtifactMetadata 
(default-addPluginArtifactMetadata) @ maven-checkstyle-plugin ---
[INFO] 
[INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ 
maven-checkstyle-plugin ---
[INFO] Skipping because packaging 'maven-plugin' is not pom.
[INFO] 
[INFO] --- maven-invoker-plugin:3.1.0:install (integration-test) @ 
maven-checkstyle-plugin ---
[INFO] Installing 
f:\jenkins\jenkins-slave\workspace\x_maven-checkstyle-plugin_master@3@2\windows-jdk11-m3.5.x_build\pom.xml
 to 
f:\jenkins\jenkins-slave\workspace\x_maven-checkstyle-plugin_master@3@2\windows-jdk11-m3.5.x_build\target\local-repo\org\apache\maven\plugins\maven-checkstyle-plugin\3.0.1-SNAPSHOT\maven-checkstyle-plugin-3.0.1-SNAPSHOT.pom
[INFO] Installing 
f:\jenkins\jenkins-slave\workspace\x_maven-checkstyle-plugin_master@3@2\windows-jdk11-m3.5.x_build\target\maven-checkstyle-plugin-3.0.1-SNAPSHOT.jar
 to 
f:\jenkins\jenkins-slave\workspace\x_maven-checkstyle-plugin_master@3@2\windows-jdk11-m3.5.x_build\target\local-repo\org\apache\maven\plugins\maven-checkstyle-plugin\3.0.1-SNAPSHOT\maven-checkstyle-plugin-3.0.1-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-invoker-plugin:3.1.0:integration-test (integration-test) @ 
maven-checkstyle-plugin ---
[INFO] Building: check-fail\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-357-with-header-override\pom.xml ..... SUCCESS 
(18.1 s)
[INFO] Building: MCHECKSTYLE-70-multi-sourcefolder\pom.xml
[INFO] run post-build script verify.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]           check-fail\pom.xml ............................... SUCCESS 
(16.8 s)
[INFO] Building: check-pass\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-70-multi-sourcefolder\pom.xml ........ SUCCESS 
(14.8 s)
[INFO] Building: minimal-pom\pom.xml
[INFO]           check-pass\pom.xml ............................... SUCCESS 
(11.6 s)
[INFO] Building: check-tests-only\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           check-tests-only\pom.xml ......................... SUCCESS 
(8.3 s)
[INFO] Building: checkstyle-goal\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           minimal-pom\pom.xml .............................. SUCCESS 
(15.5 s)
[INFO] Building: multi-modules\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           checkstyle-goal\pom.xml .......................... SUCCESS 
(10.1 s)
[INFO] Building: checkstyle-report\pom.xml
[INFO]           multi-modules\pom.xml ............................ SUCCESS 
(18.2 s)
[INFO] Building: multi-modules-aggregate\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           checkstyle-report\pom.xml ........................ SUCCESS 
(14.7 s)
[INFO] Building: inlinerules\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           inlinerules\pom.xml .............................. SUCCESS 
(8.6 s)
[INFO] Building: MCHECKSTYLE-129\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           multi-modules-aggregate\pom.xml .................. SUCCESS 
(13.8 s)
[INFO] Building: multimoduleproject\pom.xml
[INFO]           multimoduleproject\pom.xml ....................... SUCCESS 
(13.0 s)
[INFO] 
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ 
maven-checkstyle-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-checkstyle-plugin ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO]   Passed: 42, Failed: 0, Errors: 0, Skipped: 0
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 09:04 min
[INFO] Finished at: 2019-01-02T21:13:27Z
[INFO] Final Memory: 58M/873M
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated 
F:\jenkins\jenkins-slave\workspace\x_maven-checkstyle-plugin_master@2@tmp\withMavenc98d5813\maven-spy-20190102-210422-3042069198332944566409.log
Picked up JAVA_TOOL_OPTIONS: 
-Dmaven.ext.class.path="f:\jenkins\jenkins-slave\workspace\x_maven-checkstyle-plugin_master@2@tmp\withMavenc98d5813\pipeline-maven-spy.jar"
 
-Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="f:\jenkins\jenkins-slave\workspace\x_maven-checkstyle-plugin_master@2@tmp\withMavenc98d5813"
 
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[withMaven] artifactsPublisher - Archive artifact 
windows-jdk8-m3.5.x_build\pom.xml under 
org\apache\maven\plugins\maven-checkstyle-plugin\3.0.1-SNAPSHOT\maven-checkstyle-plugin-3.0.1-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact 
windows-jdk8-m3.5.x_build\target\maven-checkstyle-plugin-3.0.1-SNAPSHOT.jar 
under 
org\apache\maven\plugins\maven-checkstyle-plugin\3.0.1-SNAPSHOT\maven-checkstyle-plugin-3.0.1-SNAPSHOT.jar
[withMaven] junitPublisher - Archive test results for Maven artifact 
org.apache.maven.plugins:maven-checkstyle-plugin:maven-plugin:3.0.1-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-checkstyle-plugin:maven-plugin:3.0.1-SNAPSHOT in 
source directory windows-jdk8-m3.5.x_build\src\main\java
[TASKS] Scanning folder 
'f:\jenkins\jenkins-slave\workspace\x_maven-checkstyle-plugin_master@2' for 
files matching the pattern 'windows-jdk8-m3.5.x_build\src\main\java\**\*' - 
excludes: null
[TASKS] Found 20 files to scan for tasks
[TASKS] Found 5 open tasks.
Skipping warnings blame since pipelines do not have an SCM link.%n
[TASKS] Computing warning deltas based on reference build #42
[withMaven] invokerPublisher - Archive invoker results for Maven artifact 
MavenArtifact{org.apache.maven.plugins:maven-checkstyle-plugin:maven-plugin:3.0.1-SNAPSHOT(version:
 3.0.1-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
[INFO]           MCHECKSTYLE-129\pom.xml .......................... SUCCESS 
(18.4 s)
[INFO] Building: MCHECKSTYLE-131\pom.xml
[INFO]           MCHECKSTYLE-131\pom.xml .......................... SUCCESS 
(5.8 s)
[INFO] Building: MCHECKSTYLE-137\pom.xml
[withMaven] Publishers: Generated Artifacts Publisher: 203 ms, Junit Publisher: 
672 ms, Open Task Scanner Publisher: 188 ms, Invoker Publisher: 10971 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\x_maven-checkstyle-plugin_master@2\windows-jdk8-m3.5.x_build\target\invoker-reports\BUILD-check-fail.xml
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // ws
[Pipeline] }
[Pipeline] // node
[Pipeline] }
Failed in branch windows-jdk8-m3.5.x_build
[INFO]           MCHECKSTYLE-137\pom.xml .......................... SUCCESS 
(7.2 s)
[INFO] Building: MCHECKSTYLE-169\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-169\pom.xml .......................... SUCCESS 
(6.8 s)
[INFO] Building: MCHECKSTYLE-172\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-172\pom.xml .......................... SUCCESS 
(17.8 s)
[INFO] Building: MCHECKSTYLE-173-with-charset\pom.xml
[INFO]           MCHECKSTYLE-173-with-charset\pom.xml ............. SUCCESS 
(13.2 s)
[INFO] Building: MCHECKSTYLE-173-without-charset\pom.xml
[INFO]           MCHECKSTYLE-173-without-charset\pom.xml .......... SUCCESS 
(13.6 s)
[INFO] Building: MCHECKSTYLE-193\pom.xml
[INFO]           MCHECKSTYLE-193\pom.xml .......................... SUCCESS 
(10.5 s)
[INFO] Building: MCHECKSTYLE-214-basedir-resource\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-214-basedir-resource\pom.xml ......... SUCCESS 
(7.3 s)
[INFO] Building: MCHECKSTYLE-219-no-license_failure\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-219-no-license_failure\pom.xml ....... SUCCESS 
(7.4 s)
[INFO] Building: MCHECKSTYLE-219-no-license_success\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-219-no-license_success\pom.xml ....... SUCCESS 
(10.6 s)
[INFO] Building: MCHECKSTYLE-220\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-220\pom.xml .......................... SUCCESS 
(10.9 s)
[INFO] Building: MCHECKSTYLE-222-no-resources\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-222-no-resources\pom.xml ............. SUCCESS 
(7.1 s)
[INFO] Building: MCHECKSTYLE-222-resources\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-222-resources\pom.xml ................ SUCCESS 
(10.2 s)
[INFO] Building: MCHECKSTYLE-222-testResources\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-222-testResources\pom.xml ............ SUCCESS 
(10.4 s)
[INFO] Building: MCHECKSTYLE-224\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-224\pom.xml .......................... SUCCESS 
(14.9 s)
[INFO] Building: MCHECKSTYLE-225-customHeader\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-225-customHeader\pom.xml ............. SUCCESS 
(10.2 s)
[INFO] Building: MCHECKSTYLE-225-LICENSE.txt\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-225-LICENSE.txt\pom.xml .............. SUCCESS 
(10.3 s)
[INFO] Building: MCHECKSTYLE-225-pluginManagement\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-225-pluginManagement\pom.xml ......... SUCCESS 
(9.9 s)
[INFO] Building: MCHECKSTYLE-253-jdk8\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-253-jdk8\pom.xml ..................... SUCCESS 
(9.3 s)
[INFO] Building: MCHECKSTYLE-260-sourceDirectories\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-260-sourceDirectories\pom.xml ........ SUCCESS 
(16.2 s)
[INFO] Building: MCHECKSTYLE-260-testSourceDirectories\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-260-testSourceDirectories\pom.xml .... SUCCESS 
(13.9 s)
[INFO] Building: MCHECKSTYLE-268\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-268\pom.xml .......................... SUCCESS 
(11.4 s)
[INFO] Building: MCHECKSTYLE-295\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-295\pom.xml .......................... SUCCESS 
(8.4 s)
[INFO] Building: MCHECKSTYLE-332_cache-checker\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-332_cache-checker\pom.xml ............ SUCCESS 
(12.4 s)
[INFO] Building: MCHECKSTYLE-332_cache-treewalker\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-332_cache-treewalker\pom.xml ......... SUCCESS 
(10.1 s)
[INFO] Building: MCHECKSTYLE-337\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-337\pom.xml .......................... SUCCESS 
(10.8 s)
[INFO] Building: MCHECKSTYLE-338\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-338\pom.xml .......................... SUCCESS 
(12.3 s)
[INFO] Building: MCHECKSTYLE-347\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-347\pom.xml .......................... SUCCESS 
(6.4 s)
[INFO] Building: MCHECKSTYLE-357\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-357\pom.xml .......................... SUCCESS 
(15.3 s)
[INFO] Building: MCHECKSTYLE-357-with-header-override\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-357-with-header-override\pom.xml ..... SUCCESS 
(16.5 s)
[INFO] Building: MCHECKSTYLE-70-multi-sourcefolder\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-70-multi-sourcefolder\pom.xml ........ SUCCESS 
(14.0 s)
[INFO] Building: minimal-pom\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           minimal-pom\pom.xml .............................. SUCCESS 
(15.9 s)
[INFO] Building: multi-modules\pom.xml
[INFO]           multi-modules\pom.xml ............................ SUCCESS 
(14.5 s)
[INFO] Building: multi-modules-aggregate\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           multi-modules-aggregate\pom.xml .................. SUCCESS 
(11.9 s)
[INFO] Building: multimoduleproject\pom.xml
[INFO]           multimoduleproject\pom.xml ....................... SUCCESS 
(10.0 s)
[INFO] 
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ 
maven-checkstyle-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-checkstyle-plugin ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO]   Passed: 42, Failed: 0, Errors: 0, Skipped: 0
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 08:59 min
[INFO] Finished at: 2019-01-02T21:20:06Z
[INFO] Final Memory: 46M/160M
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated 
F:\jenkins\jenkins-slave\workspace\x_maven-checkstyle-plugin_master@3@2@tmp\withMavene7b320ee\maven-spy-20190102-211106-96710719279488920377253.log
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[withMaven] artifactsPublisher - Archive artifact 
windows-jdk11-m3.5.x_build\pom.xml under 
org\apache\maven\plugins\maven-checkstyle-plugin\3.0.1-SNAPSHOT\maven-checkstyle-plugin-3.0.1-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact 
windows-jdk11-m3.5.x_build\target\maven-checkstyle-plugin-3.0.1-SNAPSHOT.jar 
under 
org\apache\maven\plugins\maven-checkstyle-plugin\3.0.1-SNAPSHOT\maven-checkstyle-plugin-3.0.1-SNAPSHOT.jar
[withMaven] junitPublisher - Archive test results for Maven artifact 
org.apache.maven.plugins:maven-checkstyle-plugin:maven-plugin:3.0.1-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-checkstyle-plugin:maven-plugin:3.0.1-SNAPSHOT in 
source directory windows-jdk11-m3.5.x_build\src\main\java
[TASKS] Scanning folder 
'f:\jenkins\jenkins-slave\workspace\x_maven-checkstyle-plugin_master@3@2' for 
files matching the pattern 'windows-jdk11-m3.5.x_build\src\main\java\**\*' - 
excludes: null
[TASKS] Found 20 files to scan for tasks
[TASKS] Found 5 open tasks.
Skipping warnings blame since pipelines do not have an SCM link.%n
[TASKS] Computing warning deltas based on reference build #42
[withMaven] invokerPublisher - Archive invoker results for Maven artifact 
MavenArtifact{org.apache.maven.plugins:maven-checkstyle-plugin:maven-plugin:3.0.1-SNAPSHOT(version:
 3.0.1-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: 155 ms, Junit Publisher: 
360 ms, Open Task Scanner Publisher: 174 ms, Invoker Publisher: 11014 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\x_maven-checkstyle-plugin_master@3@2\windows-jdk11-m3.5.x_build\target\invoker-reports\BUILD-check-fail.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