See 
https://builds.apache.org/job/maven-box/job/maven-checkstyle-plugin/job/MCHECKSTYLE-289/18/

Changes:

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

All tests passed

Build log:
[...truncated 20827 lines...]
        at sun.nio.fs.WindowsFileAttributeViews$Basic.readAttributes(Unknown 
Source)
        at sun.nio.fs.WindowsFileSystemProvider.readAttributes(Unknown Source)
        at java.nio.file.Files.readAttributes(Unknown Source)
        at hudson.Util.isSymlink(Util.java:529)
        at hudson.Util.tryOnceDeleteRecursive(Util.java:386)
        at hudson.Util.tryOnceDeleteContentsRecursive(Util.java:407)
        at hudson.Util.tryOnceDeleteRecursive(Util.java:387)
        at hudson.Util.tryOnceDeleteContentsRecursive(Util.java:407)
        at hudson.Util.tryOnceDeleteRecursive(Util.java:387)
        at hudson.Util.tryOnceDeleteContentsRecursive(Util.java:407)
        at hudson.Util.deleteContentsRecursive(Util.java:252)
        ... 12 more
ERROR: Error cloning remote repo 'origin'
hudson.plugins.git.GitException: Failed to delete workspace
        at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:595)
        at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
        at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
        at hudson.remoting.UserRequest.perform(UserRequest.java:212)
        at hudson.remoting.UserRequest.perform(UserRequest.java:54)
        at hudson.remoting.Request$2.run(Request.java:369)
        at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:93)
        at java.lang.Thread.run(Unknown Source)
        Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to 
JNLP4-connect connection from 37.48.69.226/37.48.69.226:62534
                at 
hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1741)
                at 
hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
                at hudson.remoting.Channel.call(Channel.java:955)
                at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
                at sun.reflect.GeneratedMethodAccessor1100.invoke(Unknown 
Source)
                at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                at java.lang.reflect.Method.invoke(Method.java:498)
                at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
                at com.sun.proxy.$Proxy125.execute(Unknown Source)
                at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1146)
                at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1186)
                at 
org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:120)
                at 
org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:90)
                at 
org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:77)
                at 
org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1$1.call(SynchronousNonBlockingStepExecution.java:51)
                at hudson.security.ACL.impersonate(ACL.java:290)
                at 
org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1.run(SynchronousNonBlockingStepExecution.java:48)
                at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
                at java.util.concurrent.FutureTask.run(FutureTask.java:266)
                at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
                at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
                at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Unable to delete 
'f:\jenkins\jenkins-slave\workspace\heckstyle-plugin_MCHECKSTYLE-289\m'. Tried 
3 times (of a maximum of 3) waiting 0.1 sec between attempts.
        at hudson.Util.deleteContentsRecursive(Util.java:257)
        at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:592)
        ... 11 more
Caused by: java.nio.file.AccessDeniedException: 
f:\jenkins\jenkins-slave\workspace\heckstyle-plugin_MCHECKSTYLE-289\m\target\invoker-reports\BUILD-check-fail.xml
        at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
        at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
        at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
        at sun.nio.fs.WindowsFileAttributeViews$Basic.readAttributes(Unknown 
Source)
        at sun.nio.fs.WindowsFileAttributeViews$Basic.readAttributes(Unknown 
Source)
        at sun.nio.fs.WindowsFileSystemProvider.readAttributes(Unknown Source)
        at java.nio.file.Files.readAttributes(Unknown Source)
        at hudson.Util.isSymlink(Util.java:529)
        at hudson.Util.tryOnceDeleteRecursive(Util.java:386)
        at hudson.Util.tryOnceDeleteContentsRecursive(Util.java:407)
        at hudson.Util.tryOnceDeleteRecursive(Util.java:387)
        at hudson.Util.tryOnceDeleteContentsRecursive(Util.java:407)
        at hudson.Util.tryOnceDeleteRecursive(Util.java:387)
        at hudson.Util.tryOnceDeleteContentsRecursive(Util.java:407)
        at hudson.Util.deleteContentsRecursive(Util.java:252)
        ... 12 more
[Pipeline] }
[Pipeline] // dir
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
ERROR: Cannot delete workspace 
:f:\jenkins\jenkins-slave\workspace\heckstyle-plugin_MCHECKSTYLE-289\m\target\invoker-reports\BUILD-check-fail.xml
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] }
Failed in branch windows-jdk11
[INFO]           check-pass\pom.xml ............................... SUCCESS 
(10.5 s)
[INFO] Building: check-tests-only\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           check-tests-only\pom.xml ......................... SUCCESS 
(8.2 s)
[INFO] Building: checkstyle-goal\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           checkstyle-goal\pom.xml .......................... SUCCESS 
(11.4 s)
[INFO] Building: checkstyle-report\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           checkstyle-report\pom.xml ........................ SUCCESS 
(16.3 s)
[INFO] Building: inlinerules\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           inlinerules\pom.xml .............................. SUCCESS 
(10.0 s)
[INFO] Building: MCHECKSTYLE-129\pom.xml
[INFO]           MCHECKSTYLE-129\pom.xml .......................... FAILED 
(14.7 s)
[INFO]   The build exited with code 1. See 
f:\jenkins\jenkins-slave\workspace\tyle-plugin_MCHECKSTYLE-289-VWTFJABBRWF7ZHZ6NWXFDJKEKLTHVET2YVHKYLF4ZSFXFDIIA52A\m\target\it\MCHECKSTYLE-129\build.log
 for details.
[INFO] Building: MCHECKSTYLE-131\pom.xml
[INFO]           MCHECKSTYLE-131\pom.xml .......................... SUCCESS 
(7.1 s)
[INFO] Building: MCHECKSTYLE-137\pom.xml
[INFO]           MCHECKSTYLE-137\pom.xml .......................... SUCCESS 
(10.2 s)
[INFO] Building: MCHECKSTYLE-169\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-169\pom.xml .......................... SUCCESS 
(9.4 s)
[INFO] Building: MCHECKSTYLE-172\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-172\pom.xml .......................... SUCCESS 
(12.3 s)
[INFO] Building: MCHECKSTYLE-173-with-charset\pom.xml
[INFO]           MCHECKSTYLE-173-with-charset\pom.xml ............. FAILED (9.7 
s)
[INFO]   The build exited with code 1. See 
f:\jenkins\jenkins-slave\workspace\tyle-plugin_MCHECKSTYLE-289-VWTFJABBRWF7ZHZ6NWXFDJKEKLTHVET2YVHKYLF4ZSFXFDIIA52A\m\target\it\MCHECKSTYLE-173-with-charset\build.log
 for details.
[INFO] Building: MCHECKSTYLE-173-without-charset\pom.xml
[INFO]           MCHECKSTYLE-173-without-charset\pom.xml .......... FAILED 
(10.7 s)
[INFO]   The build exited with code 1. See 
f:\jenkins\jenkins-slave\workspace\tyle-plugin_MCHECKSTYLE-289-VWTFJABBRWF7ZHZ6NWXFDJKEKLTHVET2YVHKYLF4ZSFXFDIIA52A\m\target\it\MCHECKSTYLE-173-without-charset\build.log
 for details.
[INFO] Building: MCHECKSTYLE-193\pom.xml
[INFO]           MCHECKSTYLE-193\pom.xml .......................... SUCCESS 
(8.2 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.6 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.3 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 
(8.9 s)
[INFO] Building: MCHECKSTYLE-220\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-220\pom.xml .......................... SUCCESS 
(11.0 s)
[INFO] Building: MCHECKSTYLE-222-no-resources\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-222-no-resources\pom.xml ............. SUCCESS 
(5.6 s)
[INFO] Building: MCHECKSTYLE-222-resources\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-222-resources\pom.xml ................ SUCCESS 
(9.9 s)
[INFO] Building: MCHECKSTYLE-222-testResources\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-222-testResources\pom.xml ............ SUCCESS 
(9.9 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 
(8.5 s)
[INFO] Building: MCHECKSTYLE-225-LICENSE.txt\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-225-LICENSE.txt\pom.xml .............. SUCCESS 
(8.9 s)
[INFO] Building: MCHECKSTYLE-225-pluginManagement\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-225-pluginManagement\pom.xml ......... SUCCESS 
(8.7 s)
[INFO] Building: MCHECKSTYLE-253-jdk8\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-253-jdk8\pom.xml ..................... SUCCESS 
(9.1 s)
[INFO] Building: MCHECKSTYLE-260-sourceDirectories\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-260-sourceDirectories\pom.xml ........ SUCCESS 
(16.6 s)
[INFO] Building: MCHECKSTYLE-260-testSourceDirectories\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-260-testSourceDirectories\pom.xml .... SUCCESS 
(13.1 s)
[INFO] Building: MCHECKSTYLE-268\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-268\pom.xml .......................... SUCCESS 
(10.7 s)
[INFO] Building: MCHECKSTYLE-289\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-289\pom.xml .......................... FAILED 
(10.4 s)
[INFO]   The post-build script did not succeed. 
f:\jenkins\jenkins-slave\workspace\tyle-plugin_MCHECKSTYLE-289-VWTFJABBRWF7ZHZ6NWXFDJKEKLTHVET2YVHKYLF4ZSFXFDIIA52A\m\target\it\MCHECKSTYLE-289\target\site\checkstyle.html
 (The system cannot find the path specified)
[INFO] Building: MCHECKSTYLE-295\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-295\pom.xml .......................... SUCCESS 
(7.3 s)
[INFO] Building: MCHECKSTYLE-332_cache-checker\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-332_cache-checker\pom.xml ............ SUCCESS 
(11.1 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.7 s)
[INFO] Building: MCHECKSTYLE-337\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-337\pom.xml .......................... SUCCESS 
(12.1 s)
[INFO] Building: MCHECKSTYLE-338\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-338\pom.xml .......................... SUCCESS 
(11.8 s)
[INFO] Building: MCHECKSTYLE-347\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-347\pom.xml .......................... SUCCESS 
(6.1 s)
[INFO] Building: MCHECKSTYLE-70-multi-sourcefolder\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MCHECKSTYLE-70-multi-sourcefolder\pom.xml ........ SUCCESS 
(12.4 s)
[INFO] Building: minimal-pom\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           minimal-pom\pom.xml .............................. FAILED (8.5 
s)
[INFO]   The post-build script returned false.
[INFO] Building: multi-modules\pom.xml
[INFO]           multi-modules\pom.xml ............................ SUCCESS 
(15.8 s)
[INFO] Building: multi-modules-aggregate\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           multi-modules-aggregate\pom.xml .................. SUCCESS 
(12.3 s)
[INFO] Building: multimoduleproject\pom.xml
[INFO]           multimoduleproject\pom.xml ....................... SUCCESS 
(10.3 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.0.1:verify (integration-test) @ 
maven-checkstyle-plugin ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO]   Passed: 36, Failed: 5, Errors: 0, Skipped: 0
[INFO] -------------------------------------------------
[WARNING] The following builds failed:
[WARNING] *  MCHECKSTYLE-129\pom.xml
[WARNING] *  MCHECKSTYLE-173-with-charset\pom.xml
[WARNING] *  MCHECKSTYLE-173-without-charset\pom.xml
[WARNING] *  MCHECKSTYLE-289\pom.xml
[WARNING] *  minimal-pom\pom.xml
[INFO] -------------------------------------------------
[WARNING] Ignoring that 5 builds failed.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 08:34 min
[INFO] Finished at: 2019-01-02T21:32:04Z
[INFO] Final Memory: 65M/954M
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated 
F:\jenkins\jenkins-slave\workspace\tyle-plugin_MCHECKSTYLE-289-VWTFJABBRWF7ZHZ6NWXFDJKEKLTHVET2YVHKYLF4ZSFXFDIIA52A@tmp\withMaven95e99e12\maven-spy-20190102-212329-2313721265162176458704.log
Picked up JAVA_TOOL_OPTIONS: 
-Dmaven.ext.class.path="f:\jenkins\jenkins-slave\workspace\tyle-plugin_MCHECKSTYLE-289-VWTFJABBRWF7ZHZ6NWXFDJKEKLTHVET2YVHKYLF4ZSFXFDIIA52A@tmp\withMaven95e99e12\pipeline-maven-spy.jar"
 
-Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="f:\jenkins\jenkins-slave\workspace\tyle-plugin_MCHECKSTYLE-289-VWTFJABBRWF7ZHZ6NWXFDJKEKLTHVET2YVHKYLF4ZSFXFDIIA52A@tmp\withMaven95e99e12"
 
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[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.0.1@integration-test
  integration-test}: m\target\invoker-reports\*.xml
[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): 
m\target\surefire-reports\*.xml
Recording test results
[withMaven] Publishers: Pipeline Graph Publisher: 1 ms, Invoker Publisher: 
12435 ms, Junit Publisher: 395 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\tyle-plugin_MCHECKSTYLE-289-VWTFJABBRWF7ZHZ6NWXFDJKEKLTHVET2YVHKYLF4ZSFXFDIIA52A\m\target\invoker-reports\BUILD-check-fail.xml
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] }
Failed in branch windows-jdk8
[Pipeline] // parallel
[Pipeline] stage
[Pipeline] { (Notifications)
[Pipeline] echo
Build result: FAILURE
[Pipeline] jiraIssueSelector
[Pipeline] emailext

Reply via email to