title: What version of Groovy is the Jenkins groovy post build plugin using?
body: <p>I have the Groovy and Groovy Postbuild plugins installed in Jenkins (1.554) and have it set to automatically install Groovy 2.2.1 when needed.  </p>
  
  <p>After having a problem with a constructor signature I dug a little deeper and round that Jenkins is actually using 1.8.9 by running this through the groovysh CLI.  </p>
  
  <pre><code>groovy&gt; import org.codehaus.groovy.runtime.InvokerHelper
  groovy&gt; println InvokerHelper.version
  </code></pre>
  
  <p>It appears that the groovy post build plugin is also using 1.8.9 based on the error message I get when I try to run my script.</p>
  
  <p>How can I update this?  I have already set the groovy plugin to use 2.2.1.  Thanks!</p>