public class HyperTool extends hudson.tools.ToolInstallation implements hudson.model.EnvironmentSpecific<HyperTool>, hudson.slaves.NodeSpecific<HyperTool>
bin/hyper.
Use <d:selectHyperTool field="toolName" xmlns:d="/lib/hyper/commons/"/> to customize.| Modifier and Type | Class and Description |
|---|---|
static class |
HyperTool.DescriptorImpl |
| Constructor and Description |
|---|
HyperTool(String name,
String home,
List<? extends hudson.tools.ToolProperty<?>> properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
buildEnvVars(hudson.EnvVars env) |
HyperTool |
forEnvironment(hudson.EnvVars environment) |
HyperTool |
forNode(hudson.model.Node node,
hudson.model.TaskListener log) |
static String |
getExecutable(String name,
hudson.model.Node node,
hudson.model.TaskListener listener,
hudson.EnvVars env)
Gets the executable name to use for a given launcher.
|
@Nonnull public static String getExecutable(@CheckForNull String name, @CheckForNull hudson.model.Node node, @Nullable hudson.model.TaskListener listener, @CheckForNull hudson.EnvVars env) throws IOException, InterruptedException
ArgumentListBuilder.name - the name of the selected tool, or null for the defaultnode - optionally, a node (such as a slave) on which we are running Dockerlistener - a listener, required in case node is not nullenv - optionally, environment variables to use when expanding the home directorydocker or an absolute pathIOExceptionInterruptedExceptionpublic HyperTool forEnvironment(hudson.EnvVars environment)
forEnvironment in interface hudson.model.EnvironmentSpecific<HyperTool>public HyperTool forNode(hudson.model.Node node, hudson.model.TaskListener log) throws IOException, InterruptedException
forNode in interface hudson.slaves.NodeSpecific<HyperTool>IOExceptionInterruptedExceptionpublic void buildEnvVars(hudson.EnvVars env)
buildEnvVars in class hudson.tools.ToolInstallationCopyright © 2016. All rights reserved.