public class SSHBuilder
extends hudson.tasks.Builder
Modifier and Type | Class and Description |
---|---|
static class |
SSHBuilder.DescriptorImpl |
Constructor and Description |
---|
SSHBuilder(String siteName,
String command)
Deprecated.
|
SSHBuilder(String siteName,
String command,
boolean execEachLine) |
Modifier and Type | Method and Description |
---|---|
String |
getCommand() |
boolean |
getExecEachLine() |
CredentialsSSHSite |
getSite() |
String |
getSiteName() |
boolean |
isHideCommand() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
void |
setCommand(String command) |
void |
setExecEachLine(boolean execEachLine) |
void |
setHideCommand(boolean hideCommand) |
void |
setSiteName(String siteName) |
all, getDescriptor, getRequiredMonitorService, prebuild
@Deprecated public SSHBuilder(String siteName, String command)
public String getSiteName()
public String getCommand()
public boolean getExecEachLine()
public void setSiteName(String siteName)
public void setCommand(String command)
public void setExecEachLine(boolean execEachLine)
@DataBoundSetter public void setHideCommand(boolean hideCommand)
public boolean isHideCommand()
public boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener) throws InterruptedException, IOException
perform
in interface hudson.tasks.BuildStep
perform
in class hudson.tasks.BuildStepCompatibilityLayer
InterruptedException
IOException
public CredentialsSSHSite getSite()
Copyright © 2004-2018. All Rights Reserved.