jenkinsci/groovy-plugin — pull request #6 by blalor (2012-04-19 16:18:22+00:00)
Title: Provide build context

This patch makes the arguments passed to perform() available to the Groovy context. This allows the script to behave exactly like any other `AbstractBuild`. Specifically, I use it to determine the upstream causes of the build, and retrieve the `EnvVars` for some builds.