Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide build context #6

Merged
merged 2 commits into from Apr 27, 2012
Merged

Provide build context #6

merged 2 commits into from Apr 27, 2012

Conversation

@blalor
Copy link
Contributor

blalor commented Apr 19, 2012

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.

blalor added 2 commits Apr 6, 2012
By mapping the AbstractBuild, Launcher and BuildListener to Groovy shell
variables, it is easier (and sometimes possible) to write scripts that fully
interact with the current build invocation.
vjuranek added a commit that referenced this pull request Apr 27, 2012
@vjuranek vjuranek merged commit 5dc057b into master Apr 27, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.