Groovy – unable to resolve class

I have a groovy script that I'm writing and I'm trying to link to another groovy "library" that I've written. My script fails with "unable to resolve class".


Jenkins & Groovy – accessing build parameters

We're using Jenkins version 1.651 with the Groovy plugin for Jenkins version 1.4. I had real trouble getting access to the build parameters when trying to run a groovy script build step using the recommended methods of which there are many. From the plugin documentation: // Retrieve parameters of the current build def foo = build.buildVariableResolver.resolve("FOO") …

Continue reading Jenkins & Groovy – accessing build parameters