public class GitTool extends hudson.tools.ToolInstallation implements hudson.slaves.NodeSpecific<GitTool>, hudson.model.EnvironmentSpecific<GitTool>
| Modifier and Type | Class and Description |
|---|---|
static class |
GitTool.DescriptorImpl |
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT
Constant
DEFAULT="Default" |
| Constructor and Description |
|---|
GitTool(String name,
String home,
List<? extends hudson.tools.ToolProperty<?>> properties)
Constructor for GitTool.
|
| Modifier and Type | Method and Description |
|---|---|
GitTool |
forEnvironment(hudson.EnvVars environment) |
GitTool |
forNode(hudson.model.Node node,
hudson.model.TaskListener log) |
static GitTool |
getDefaultInstallation()
Returns the default installation.
|
GitTool.DescriptorImpl |
getDescriptor() |
String |
getGitExe()
getGitExe.
|
static void |
onLoaded() |
public static final transient String DEFAULT
DEFAULT="Default"public String getGitExe()
String that will be used to execute git (e.g. "git" or "/usr/bin/git")public static GitTool getDefaultInstallation()
public GitTool forNode(hudson.model.Node node, hudson.model.TaskListener log) throws IOException, InterruptedException
forNode in interface hudson.slaves.NodeSpecific<GitTool>IOExceptionInterruptedExceptionpublic GitTool forEnvironment(hudson.EnvVars environment)
forEnvironment in interface hudson.model.EnvironmentSpecific<GitTool>public GitTool.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tools.ToolInstallation>getDescriptor in class hudson.model.AbstractDescribableImpl<hudson.tools.ToolInstallation>@Initializer(after=EXTENSIONS_AUGMENTED) public static void onLoaded()
Copyright © 2013–2020. All rights reserved.