public class CustomToolInstallWrapper
extends hudson.tasks.BuildWrapper
| Modifier and Type | Class and Description |
|---|---|
static class |
CustomToolInstallWrapper.DescriptorImpl |
static class |
CustomToolInstallWrapper.SelectedTool
Ceremony needed to satisfy NoStaplerConstructionException:
"There's no @DataBoundConstructor on any constructor of class java.lang.String"
|
| Modifier and Type | Field and Description |
|---|---|
static CustomToolInstallWrapper.DescriptorImpl |
DESCRIPTOR |
| Constructor and Description |
|---|
CustomToolInstallWrapper(CustomToolInstallWrapper.SelectedTool[] selectedTools,
MulticonfigWrapperOptions multiconfigOptions,
boolean convertHomesToUppercase) |
| Modifier and Type | Method and Description |
|---|---|
void |
CheckVersions(CustomTool tool,
hudson.model.BuildListener listener,
hudson.EnvVars buildEnv,
hudson.model.Node node,
hudson.EnvVars target)
Check versions and modify build environment if required.
|
hudson.Launcher |
decorateLauncher(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
The heart of the beast.
|
hudson.model.Descriptor<hudson.tasks.BuildWrapper> |
getDescriptor() |
MulticonfigWrapperOptions |
getMulticonfigOptions()
Gets multi-configuration job parameters.
|
CustomToolInstallWrapper.SelectedTool[] |
getSelectedTools() |
boolean |
hasMulticonfigOptions()
Check if build has specific multi-configuration options
|
boolean |
isConvertHomesToUppercase() |
hudson.tasks.BuildWrapper.Environment |
setUp(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
@Extension public static final CustomToolInstallWrapper.DescriptorImpl DESCRIPTOR
@DataBoundConstructor public CustomToolInstallWrapper(CustomToolInstallWrapper.SelectedTool[] selectedTools, MulticonfigWrapperOptions multiconfigOptions, boolean convertHomesToUppercase)
public boolean isConvertHomesToUppercase()
public hudson.tasks.BuildWrapper.Environment setUp(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws IOException,
InterruptedException
setUp in class hudson.tasks.BuildWrapperIOExceptionInterruptedExceptionpublic CustomToolInstallWrapper.SelectedTool[] getSelectedTools()
public hudson.Launcher decorateLauncher(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws IOException,
InterruptedException,
hudson.model.Run.RunnerAbortedException
decorateLauncher in class hudson.tasks.BuildWrapperIOExceptionInterruptedExceptionhudson.model.Run.RunnerAbortedExceptionpublic void CheckVersions(CustomTool tool, hudson.model.BuildListener listener, hudson.EnvVars buildEnv, hudson.model.Node node, hudson.EnvVars target) throws CustomToolException
tool - Custom Toollistener - Build ListenerbuildEnv - Build Environment (can be modified)node - Target Nodetarget - Build Internal Environment (can be modified)CustomToolExceptionpublic hudson.model.Descriptor<hudson.tasks.BuildWrapper> getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.BuildWrapper>getDescriptor in class hudson.model.AbstractDescribableImpl<hudson.tasks.BuildWrapper>public boolean hasMulticonfigOptions()
public MulticonfigWrapperOptions getMulticonfigOptions()
Copyright © 2004-2013. All Rights Reserved.