Class XShellBuilder
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
hudson.plugins.xshell.XShellBuilder
- All Implemented Interfaces:
ExtensionPoint, Describable<Builder>, BuildStep
-
Nested Class Summary
Nested classes/interfaces inherited from interface BuildStep
BuildStep.PublisherListNested classes/interfaces inherited from interface ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final XShellDescriptorstatic final Stringstatic final StringFields inherited from interface BuildStep
BUILDERS, PUBLISHERS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringconvertEnvVarsToUnix(String cmdLine) Convert Windows-style environment variables to UNIX-style.static StringconvertEnvVarsToWindows(String cmdLine) Convert UNIX-style environment variables to Windows-style.static StringconvertSeparator(String cmdLine, String newSeparator) booleanperform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) Methods inherited from class Builder
all, getRequiredMonitorService, prebuildMethods inherited from class BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, prebuild
-
Field Details
-
UNIX_SEP
- See Also:
-
WINDOWS_SEP
- See Also:
-
DESCRIPTOR
-
-
Constructor Details
-
XShellBuilder
-
-
Method Details
-
getCommandLine
-
getWorkingDir
-
getExecuteFromWorkingDir
-
getRegexToKill
-
getTimeAllocated
-
getDescriptor
- Specified by:
getDescriptorin interfaceDescribable<Builder>- Overrides:
getDescriptorin classBuilder
-
perform
public boolean perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException- Specified by:
performin interfaceBuildStep- Overrides:
performin classBuildStepCompatibilityLayer- Throws:
InterruptedExceptionIOException
-
convertSeparator
-
convertEnvVarsToUnix
-
convertEnvVarsToWindows
-