See
https://builds.apache.org/job/maven-box/job/maven-scm-publish-plugin/job/asfMavenTlpPlgnBuild/3/
Changes:
* [INFRA-18014] Provide GPG on Jenkins Windows nodes
* Switch back to Windows label
* Change workspace path for Windows
* Shorten wsDir
* Fix groovy script
* rewrite groovy statement
* Keep original stageId
* Reduce stageDir
* More shortening of path
* maven-invoker keeps lock on jar (under investigation), so can't fully
No tests ran.
Build log:
[...truncated 2821 lines...]
[TASKS] Found 3 files to scan for tasks
[TASKS] Found 4 open tasks.
Skipping warnings blame since pipelines do not have an SCM link.%n
[withMaven] invokerPublisher - Archive invoker results for Maven artifact
MavenArtifact{org.apache.maven.plugins:maven-scm-publish-plugin:maven-plugin:3.1.0-SNAPSHOT(version:
3.1.0-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: 16 ms, Junit Publisher:
24 ms, Open Task Scanner Publisher: 70 ms, Invoker Publisher: 938 ms
[Pipeline] // withMaven
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[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] }
Failed in branch windows-jdk8-m3.5.x_build
[INFO] publish-scm-staged\pom.xml ....................... FAILED
(47.9 s)
[INFO] The build exited with code 1. See
f:\jenkins\jenkins-slave\workspace\lish-plugin_asfMavenTlpPlgnBuild@3@2\windows-jdk12-m3.5.x_build\target\it\publish-scm-staged\build.log
for details.
[INFO] Building: site-deploy\pom.xml
[INFO] run pre-build script setup.bsh
[INFO] site-deploy\pom.xml .............................. FAILED
(12.0 s)
[INFO] The build exited with code 1. See
f:\jenkins\jenkins-slave\workspace\lish-plugin_asfMavenTlpPlgnBuild@3@2\windows-jdk12-m3.5.x_build\target\it\site-deploy\build.log
for details.
[INFO]
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @
maven-scm-publish-plugin ---
[INFO]
[INFO] --- maven-invoker-plugin:3.1.0:verify (integration-test) @
maven-scm-publish-plugin ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO] Passed: 0, Failed: 2, Errors: 0, Skipped: 1
[INFO] -------------------------------------------------
[ERROR] The following builds failed:
[ERROR] * publish-scm-staged\pom.xml
[ERROR] * site-deploy\pom.xml
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:34 min
[INFO] Finished at: 2019-04-10T00:08:13-07:00
[INFO] Final Memory: 40M/144M
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated
F:\jenkins\jenkins-slave\workspace\lish-plugin_asfMavenTlpPlgnBuild@3@2@tmp\withMavena3202d21\maven-spy-20190410-000637-84015701607709467294458.log
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-invoker-plugin:3.1.0:verify (integration-test)
on project maven-scm-publish-plugin: 2 builds failed. See console output above
for details. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal
org.apache.maven.plugins:maven-invoker-plugin:3.1.0:verify (integration-test)
on project maven-scm-publish-plugin: 2 builds failed. See console output above
for details.
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:213)
[INFO] publish-scm-staged\pom.xml ....................... FAILED
(49.1 s)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:154)
[INFO] The build exited with code 1. See
f:\jenkins\jenkins-slave\workspace\lish-plugin_asfMavenTlpPlgnBuild@2\windows-jdk11-m3.5.x_build\target\it\publish-scm-staged\build.log
for details.
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:146)
[INFO] Building: site-deploy\pom.xml
[INFO] run pre-build script setup.bsh
[INFO] site-deploy\pom.xml .............................. FAILED
(12.6 s)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:117)
[INFO] The build exited with code 1. See
f:\jenkins\jenkins-slave\workspace\lish-plugin_asfMavenTlpPlgnBuild@2\windows-jdk11-m3.5.x_build\target\it\site-deploy\build.log
for details.
[INFO]
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:81)
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @
maven-scm-publish-plugin ---
[INFO]
at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
(SingleThreadedBuilder.java:51)
[INFO] --- maven-invoker-plugin:3.1.0:verify (integration-test) @
maven-scm-publish-plugin ---
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
(LifecycleStarter.java:128)
[INFO] -------------------------------------------------
[INFO] Build Summary:
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)
[INFO] Passed: 0, Failed: 2, Errors: 0, Skipped: 1
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)
[INFO] -------------------------------------------------
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)
[ERROR] The following builds failed:
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)
[ERROR] * publish-scm-staged\pom.xml
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
[ERROR] * site-deploy\pom.xml
at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
[INFO] -------------------------------------------------
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:41 min
[INFO] Finished at: 2019-04-10T00:08:14-07:00
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:62)
[INFO] Final Memory: 39M/140M
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
[INFO] ------------------------------------------------------------------------
at java.lang.reflect.Method.invoke (Method.java:567)
[INFO] [jenkins-event-spy] Generated
F:\jenkins\jenkins-slave\workspace\lish-plugin_asfMavenTlpPlgnBuild@2@tmp\withMavene5f1f15a\maven-spy-20190410-000632-71215318320429113107148.log
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch
(Launcher.java:229)
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-invoker-plugin:3.1.0:verify (integration-test)
on project maven-scm-publish-plugin: 2 builds failed. See console output above
for details. -> [Help 1]
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
(Launcher.java:415)
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal
org.apache.maven.plugins:maven-invoker-plugin:3.1.0:verify (integration-test)
on project maven-scm-publish-plugin: 2 builds failed. See console output above
for details.
at org.codehaus.plexus.classworlds.launcher.Launcher.main
(Launcher.java:356)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:213)
Caused by: org.apache.maven.plugin.MojoFailureException: 2 builds failed. See
console output above for details.
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:154)
at org.apache.maven.plugins.invoker.InvokerSession.handleFailures
(InvokerSession.java:260)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:146)
at org.apache.maven.plugins.invoker.VerifyMojo.execute (VerifyMojo.java:137)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:117)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo
(DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:208)
at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:154)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
(LifecycleStarter.java:128)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:146)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:117)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:81)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)
at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
(SingleThreadedBuilder.java:51)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
(LifecycleStarter.java:128)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:62)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
at java.lang.reflect.Method.invoke (Method.java:566)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
(Launcher.java:289)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch
(Launcher.java:229)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:62)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
(Launcher.java:415)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
at org.codehaus.plexus.classworlds.launcher.Launcher.main
(Launcher.java:356)
at java.lang.reflect.Method.invoke (Method.java:567)
Caused by: org.apache.maven.plugin.MojoFailureException: 2 builds failed. See
console output above for details.
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
(Launcher.java:289)
at org.apache.maven.plugins.invoker.InvokerSession.handleFailures
(InvokerSession.java:260)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch
(Launcher.java:229)
at org.apache.maven.plugins.invoker.VerifyMojo.execute (VerifyMojo.java:137)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
(Launcher.java:415)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo
(DefaultBuildPluginManager.java:134)
at org.codehaus.plexus.classworlds.launcher.Launcher.main
(Launcher.java:356)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:208)
[ERROR]
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:154)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:146)
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:117)
[ERROR]
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:81)
at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
(LifecycleStarter.java:128)
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:566)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch
(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main
(Launcher.java:356)
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[Pipeline] }
[Pipeline] }
[Pipeline] // dir
[Pipeline] // dir
[Pipeline] }
[Pipeline] }
[Fast Archiver] No prior successful build to compare, so performing full copy
of artifacts
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.plugins:maven-scm-publish-plugin:maven-plugin:3.1.0-SNAPSHOT
generated by maven-surefire-plugin:test (default-test):
windows-jdk11-m3.5.x_build\target\surefire-reports\*.xml
Recording test results
[Fast Archiver] No prior successful build to compare, so performing full copy
of artifacts
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.plugins:maven-scm-publish-plugin:maven-plugin:3.1.0-SNAPSHOT
generated by maven-surefire-plugin:test (default-test):
windows-jdk12-m3.5.x_build\target\surefire-reports\*.xml
Recording test results
None of the test reports contained any result
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact
org.apache.maven.plugins:maven-scm-publish-plugin:maven-plugin:3.1.0-SNAPSHOT
in source directory windows-jdk11-m3.5.x_build\src\main\java
None of the test reports contained any result
[TASKS] Scanning folder
'f:\jenkins\jenkins-slave\workspace\lish-plugin_asfMavenTlpPlgnBuild@2' for
files matching the pattern 'windows-jdk11-m3.5.x_build\src\main\java\**\*' -
excludes: null
[TASKS] Found 3 files to scan for tasks
[TASKS] Found 4 open tasks.
Skipping warnings blame since pipelines do not have an SCM link.%n
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact
org.apache.maven.plugins:maven-scm-publish-plugin:maven-plugin:3.1.0-SNAPSHOT
in source directory windows-jdk12-m3.5.x_build\src\main\java
[TASKS] Scanning folder
'f:\jenkins\jenkins-slave\workspace\lish-plugin_asfMavenTlpPlgnBuild@3@2' for
files matching the pattern 'windows-jdk12-m3.5.x_build\src\main\java\**\*' -
excludes: null
[TASKS] Found 3 files to scan for tasks
[TASKS] Found 4 open tasks.
Skipping warnings blame since pipelines do not have an SCM link.%n
[withMaven] invokerPublisher - Archive invoker results for Maven artifact
MavenArtifact{org.apache.maven.plugins:maven-scm-publish-plugin:maven-plugin:3.1.0-SNAPSHOT(version:
3.1.0-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] invokerPublisher - Archive invoker results for Maven artifact
MavenArtifact{org.apache.maven.plugins:maven-scm-publish-plugin:maven-plugin:3.1.0-SNAPSHOT(version:
3.1.0-SNAPSHOT, snapshot:false) } generated by
PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.1.0@integration-test
integration-test}: windows-jdk12-m3.5.x_build\target\invoker-reports\*.xml
[withMaven] Publishers: Generated Artifacts Publisher: 21 ms, Junit Publisher:
137 ms, Open Task Scanner Publisher: 87 ms, Invoker Publisher: 1216 ms
[Pipeline] // withMaven
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[withMaven] Publishers: Generated Artifacts Publisher: 17 ms, Junit Publisher:
123 ms, Open Task Scanner Publisher: 136 ms, Invoker Publisher: 1257 ms
[WS-CLEANUP] done
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[Pipeline] // withMaven
[WS-CLEANUP] done
[Pipeline] cleanWs
[Pipeline] }
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[Pipeline] // stage
[WS-CLEANUP] done
[Pipeline] }
[Pipeline] // ws
[Pipeline] }
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[Pipeline] // node
[Pipeline] }
Failed in branch windows-jdk11-m3.5.x_build
[WS-CLEANUP] done
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // ws
[Pipeline] }
[Pipeline] // node
[Pipeline] }
Failed in branch windows-jdk12-m3.5.x_build
[Pipeline] // parallel
[Pipeline] stage
[Pipeline] { (Notifications)
[Pipeline] echo
Build result: FAILURE
[Pipeline] jiraIssueSelector
[Pipeline] emailext