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".

Tech and stuff
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".
I'm going to go through the process I followed to work out how to resolve this but the "TLDR" answer is that you need to manipulate the JSON that represents your form...
I really struggled to find anything about the error around the internets and the solution was so simple...
Problem: While trying to update ruby gems: gem update I ran into the following error: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed I'd recently installed a new certificate so I assumed it was that. However after a lot of hunting around it turns out that there was an SSL certificate update …
Background: After installing piggly (see here for instructions) I had to remove the latest version of piggly due to this issue: gem uninstall piggly and I thus installed version 1.2.1 gem install piggly -v '1.2.1' Problem: After installing v 1.2.1 I attempted to run piggly trace: piggly trace And was confronted with the following error: C:/Ruby/Ruby21-x64/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:126:in …
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