Package org.jvnet.hudson.plugins
Class SSHBuilder
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
org.jvnet.hudson.plugins.SSHBuilder
- All Implemented Interfaces:
ExtensionPoint
,Describable<Builder>
,BuildStep
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
Constructor Summary
ConstructorDescriptionSSHBuilder
(String siteName, String command) Deprecated.SSHBuilder
(String siteName, String command, boolean execEachLine) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getSite()
boolean
boolean
perform
(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) void
setCommand
(String command) void
setExecEachLine
(boolean execEachLine) void
setHideCommand
(boolean hideCommand) void
setSiteName
(String siteName) Methods inherited from class hudson.tasks.Builder
all, getDescriptor, getRequiredMonitorService, prebuild
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, prebuild
-
Constructor Details
-
SSHBuilder
Deprecated. -
SSHBuilder
-
-
Method Details
-
getSiteName
-
getCommand
-
getExecEachLine
public boolean getExecEachLine() -
setSiteName
-
setCommand
-
setExecEachLine
public void setExecEachLine(boolean execEachLine) -
setHideCommand
@DataBoundSetter public void setHideCommand(boolean hideCommand) -
isHideCommand
public boolean isHideCommand() -
perform
public boolean perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException- Specified by:
perform
in interfaceBuildStep
- Overrides:
perform
in classBuildStepCompatibilityLayer
- Throws:
InterruptedException
IOException
-
getSite
-