Hello developers community! I'd like to experiment with Jenkins plugins written in Groovy, and to get started I'm trying to build a Groovy Jenkins plugin demo from Shiran Rubin's talk at the 2014 Jenkins conference in Israel (video <https://www.youtube.com/watch?v=h_epgCWJ8lE>, slides <https://www.cloudbees.com/sites/default/files/juc_presentation.pdf>, my fork of the github-repository <https://github.com/TG9541/frogballs-plugin>).
The build fails with the following error message: :compileGroovy :processResources UP-TO-DATE :classes :jpi FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':jpi'. > java/util/HashMap$Entry * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED I'm using Ubuntu 14.04, and since I couldn't find tool version requirements, I installed most things from packages. "gradle -version" prints the following versions: ------------------------------------------------------------ Gradle 1.4 ------------------------------------------------------------ Gradle build time: Monday, September 9, 2013 8:44:25 PM UTC Groovy: 1.8.6 Ant: Apache Ant(TM) version 1.9.3 compiled on April 8 2014 JVM: 1.7.0_65 (Oracle Corporation 24.65-b04) OS: Linux 3.13.0-44-generic amd64 I tried the following, without seeing the error message change: - build with the "--debug" option, and Gradle prior to 2.0 had issues with Java1.8 <http://forums.gradle.org/gradle/topics/gradle_fails_on_jdk8_with_java_lang_classnotfoundexception_java_util_hashmap_entry> -> I downgraded to Java/JDK1.7 * changed the gradle-jpi-plugin dependency from version 0.5.0 to 0.7.2 - used the dependencies I found in the job-dsl-plugin <https://github.com/jenkinsci/job-dsl-plugin/blob/master/build.gradle> (e.g. "gradleVersion = '1.12'") A generally recommendation in the Gradle forums is upgrading Gradle, and Groovy, to version 2.x. I do that, since it's not clear to me how the Groovy version used in Jenkins relates to the version used by the build tools (e.g. version of groovyc in the environment). It would be nice if someone with more experience could have a look at it, and could shed some light on the Groovy version tool/build dependencies! Thanks in advance! -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/2092c5b5-1d1d-475e-a251-c0d690720601%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.