-
Bug
-
Resolution: Cannot Reproduce
-
Blocker
-
Jenkins v2.19.2
gradle plugin v1.25
gradle --version output
------------------------------------------------------------
Gradle 2.0
------------------------------------------------------------
Build time: 2014-07-01 07:45:34 UTC
Build number: none
Revision: b6ead6fa452dfdadec484059191eb641d817226c
Groovy: 2.3.3
Ant: Apache Ant(TM) version 1.9.3 compiled on December 23 2013
JVM: 1.8.0_91 (Oracle Corporation 25.91-b15)
OS: Windows Server 2008 R2 6.1 amd64Jenkins v2.19.2 gradle plugin v1.25 gradle --version output ------------------------------------------------------------ Gradle 2.0 ------------------------------------------------------------ Build time: 2014-07-01 07:45:34 UTC Build number: none Revision: b6ead6fa452dfdadec484059191eb641d817226c Groovy: 2.3.3 Ant: Apache Ant(TM) version 1.9.3 compiled on December 23 2013 JVM: 1.8.0_91 (Oracle Corporation 25.91-b15) OS: Windows Server 2008 R2 6.1 amd64
When using a gradle build step the job fails after running the gradle build, as follows:
:clean :compileJavawarning: [options] bootstrap class path not set in conjunction with -source 1.7 1 warning :processResources UP-TO-DATE :classes :war :assemble :compileTestJavawarning: [options] bootstrap class path not set in conjunction with -source 1.7 1 warning :processTestResources :testClasses :test :check :build BUILD SUCCESSFUL Total time: 47.208 secs FATAL: Could not initialize class hudson.plugins.gradle.Messages java.lang.NoClassDefFoundError: Could not initialize class hudson.plugins.gradle.Messages at hudson.plugins.gradle.Gradle$DescriptorImpl.getDisplayName(Gradle.java:388) at hudson.model.AbstractBuild$AbstractBuildExecution.getBuildStepName(AbstractBuild.java:818) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:796) at hudson.model.Build$BuildExecution.build(Build.java:205) at hudson.model.Build$BuildExecution.doRun(Build.java:162) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1720) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:404) Archiving artifacts Recording test results Notifying upstream projects of job completion Finished: FAILURE