public interface BuildChooserContext
BuildChooser.
BuildChooser runs on a node that has the workspace, which means it can run on an agent.
This interface provides access for BuildChooser to send a closure to the controller 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<Run<?,?>,T> callable) |
<T> T |
actOnProject(BuildChooserContext.ContextCallable<Job<?,?>,T> callable) |
Run<?,?> |
getBuild() |
EnvVars |
getEnvironment() |
<T> T actOnBuild(BuildChooserContext.ContextCallable<Run<?,?>,T> callable) throws IOException, InterruptedException
IOExceptionInterruptedException<T> T actOnProject(BuildChooserContext.ContextCallable<Job<?,?>,T> callable) throws IOException, InterruptedException
IOExceptionInterruptedExceptionRun<?,?> getBuild()
EnvVars getEnvironment()
Copyright © 2007–2021. All rights reserved.