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

Advertisements