public interface BuildChooserContext
BuildChooser.
BuildChooser runs on a node that has the workspace, which means it can run on a slave.
This interface provides access for BuildChooser to send a closure to the master and execute code there.
| Modifier and Type | Interface and Description |
|---|---|
static interface |
BuildChooserContext.ContextCallable<P,T> |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
actOnBuild(BuildChooserContext.ContextCallable<hudson.model.Run<?,?>,T> callable) |
<T> T |
actOnProject(BuildChooserContext.ContextCallable<hudson.model.Job<?,?>,T> callable) |
hudson.model.Run<?,?> |
getBuild() |
hudson.EnvVars |
getEnvironment() |
<T> T actOnBuild(BuildChooserContext.ContextCallable<hudson.model.Run<?,?>,T> callable) throws IOException, InterruptedException
IOExceptionInterruptedException<T> T actOnProject(BuildChooserContext.ContextCallable<hudson.model.Job<?,?>,T> callable) throws IOException, InterruptedException
IOExceptionInterruptedExceptionhudson.model.Run<?,?> getBuild()
hudson.EnvVars getEnvironment()
Copyright © 2004-2015. All Rights Reserved.