See
https://builds.apache.org/job/maven-box/job/maven-scm-publish-plugin/job/stabilize/6/
Changes:
* [MNG-6573] Use Maven 3.6.0 as default
* H39 has weird issues, exclude it for now
* Fix no access to currentBuild.rawBuild
No tests ran.
Build log:
[...truncated 2854 lines...]
[WS-CLEANUP] done
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // ws
[Pipeline] }
[Pipeline] // node
[Pipeline] }
Failed in branch windows-jdk7-m3.5.x_build
[INFO] site-deploy\pom.xml .............................. FAILED (9.2
s)
[INFO] The post-build script did not succeed. Failed to create Script
instance for class: class Script1. Reason: java.lang.ClassCastException: class
Script1 cannot be cast to class groovy.lang.GroovyObject (Script1 is in unnamed
module of loader groovy.lang.GroovyClassLoader$InnerLoader @786ce57e;
groovy.lang.GroovyObject is in unnamed module of loader
org.codehaus.plexus.classworlds.realm.ClassRealm @437b2db1)
[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: 3, Errors: 0, Skipped: 0
[INFO] -------------------------------------------------
[ERROR] The following builds failed:
[ERROR] * publish-scm-staged\pom.xml
[ERROR] * publish-scm\pom.xml
[ERROR] * site-deploy\pom.xml
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 49.402 s
[INFO] Finished at: 2019-04-20T18:31:02Z
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated
F:\jenkins\jenkins-slave\workspace\ven-scm-publish-plugin_stabilize@2@2@tmp\withMaven9442720a\maven-spy-20190420-183013-16514164707304061004319.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: 3 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: 3 builds failed. See console output above
for details.
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:215)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:81)
at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
(SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
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:567)
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)
Caused by: org.apache.maven.plugin.MojoFailureException: 3 builds failed. See
console output above for details.
at org.apache.maven.plugins.invoker.InvokerSession.handleFailures
(InvokerSession.java:260)
at org.apache.maven.plugins.invoker.VerifyMojo.execute (VerifyMojo.java:137)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo
(DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:81)
at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
(SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
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:567)
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] // dir
[Pipeline] }
[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.6.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-jdk12-m3.6.x_build\src\main\java
[TASKS] Scanning folder
'f:\jenkins\jenkins-slave\workspace\ven-scm-publish-plugin_stabilize@2@2' for
files matching the pattern 'windows-jdk12-m3.6.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
[TASKS] Computing warning deltas based on reference build #1
[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.6.x_build\target\invoker-reports\*.xml
[withMaven] Publishers: Generated Artifacts Publisher: 30 ms, Junit Publisher:
21 ms, Open Task Scanner Publisher: 86 ms, Invoker Publisher: 732 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] }
[INFO] Skipping because packaging 'maven-plugin' is not pom.
[INFO]
[INFO] --- maven-invoker-plugin:3.1.0:install (integration-test) @
maven-scm-publish-plugin ---
[Pipeline] // stage
[Pipeline] }
[Pipeline] // ws
[Pipeline] }
[Pipeline] // node
[Pipeline] }
Failed in branch windows-jdk12-m3.6.x_build
[INFO] Installing
f:\jenkins\jenkins-slave\workspace\ven-scm-publish-plugin_stabilize@2\windows-jdk8-m3.6.x_build\pom.xml
to
f:\jenkins\jenkins-slave\workspace\ven-scm-publish-plugin_stabilize@2\windows-jdk8-m3.6.x_build\target\local-repo\org\apache\maven\plugins\maven-scm-publish-plugin\3.1.0-SNAPSHOT\maven-scm-publish-plugin-3.1.0-SNAPSHOT.pom
[INFO] Installing
f:\jenkins\jenkins-slave\workspace\ven-scm-publish-plugin_stabilize@2\windows-jdk8-m3.6.x_build\target\maven-scm-publish-plugin-3.1.0-SNAPSHOT.jar
to
f:\jenkins\jenkins-slave\workspace\ven-scm-publish-plugin_stabilize@2\windows-jdk8-m3.6.x_build\target\local-repo\org\apache\maven\plugins\maven-scm-publish-plugin\3.1.0-SNAPSHOT\maven-scm-publish-plugin-3.1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-invoker-plugin:3.1.0:integration-test (integration-test) @
maven-scm-publish-plugin ---
[INFO] Building: publish-scm\pom.xml
[INFO] run pre-build script setup.bsh
[INFO] run post-build script verify.bsh
[INFO] publish-scm\pom.xml .............................. FAILED
(258.8 s)
[INFO] The post-build script returned false.
[INFO] Building: publish-scm-staged\pom.xml
[INFO] run pre-build script setup.bsh
[INFO] publish-scm-staged\pom.xml ....................... FAILED
(22.3 s)
[INFO] The build exited with code 1. See
f:\jenkins\jenkins-slave\workspace\ven-scm-publish-plugin_stabilize@2\windows-jdk8-m3.6.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] run post-build script verify.groovy
[INFO] site-deploy\pom.xml .............................. FAILED
(70.9 s)
[INFO] The post-build script did not succeed. Failed to create Script
instance for class: class Script1. Reason: java.lang.ClassCastException:
Script1 cannot be cast to groovy.lang.GroovyObject
[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: 3, Errors: 0, Skipped: 0
[INFO] -------------------------------------------------
[ERROR] The following builds failed:
[ERROR] * publish-scm-staged\pom.xml
[ERROR] * publish-scm\pom.xml
[ERROR] * site-deploy\pom.xml
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 07:48 min
[INFO] Finished at: 2019-04-20T18:37:27Z
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated
F:\jenkins\jenkins-slave\workspace\ven-scm-publish-plugin_stabilize@2@tmp\withMavenfe09fe84\maven-spy-20190420-182937-3617956383296753812766.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: 3 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: 3 builds failed. See console output above
for details.
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:215)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:81)
at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
(SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
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)
Caused by: org.apache.maven.plugin.MojoFailureException: 3 builds failed. See
console output above for details.
at org.apache.maven.plugins.invoker.InvokerSession.handleFailures
(InvokerSession.java:260)
at org.apache.maven.plugins.invoker.VerifyMojo.execute (VerifyMojo.java:137)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo
(DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:81)
at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
(SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
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
Picked up JAVA_TOOL_OPTIONS:
-Dmaven.ext.class.path="f:\jenkins\jenkins-slave\workspace\ven-scm-publish-plugin_stabilize@2@tmp\withMavenfe09fe84\pipeline-maven-spy.jar"
-Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="f:\jenkins\jenkins-slave\workspace\ven-scm-publish-plugin_stabilize@2@tmp\withMavenfe09fe84"
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[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-jdk8-m3.6.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-jdk8-m3.6.x_build\src\main\java
[TASKS] Scanning folder
'f:\jenkins\jenkins-slave\workspace\ven-scm-publish-plugin_stabilize@2' for
files matching the pattern 'windows-jdk8-m3.6.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
[TASKS] Computing warning deltas based on reference build #1
[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.6.x_build\target\invoker-reports\*.xml
[withMaven] Publishers: Generated Artifacts Publisher: 477 ms, Junit Publisher:
205 ms, Open Task Scanner Publisher: 415 ms, Invoker Publisher: 6282 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.6.x_build
[Pipeline] // parallel
[Pipeline] stage
[Pipeline] { (Notifications)
[Pipeline] echo
Build result: FAILURE
[Pipeline] jiraIssueSelector
[Pipeline] jiraComment
[Pipeline] emailext