Jenkins stuck on “Retrieving Git references…”

When using the Git Parameter Plugin to allow the user to choose a branch to build in our Jenkins build job, occasionally we'd find that the git parameter would get stuck on "Retrieving Git references...".


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