Class SshComputerLauncher
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<ComputerLauncher>
-
- hudson.slaves.ComputerLauncher
-
- com.oracle.cloud.baremetal.jenkins.ssh.SshComputerLauncher
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<ComputerLauncher>
public class SshComputerLauncher extends ComputerLauncher
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_SSH_PORT
static String
DEFAULT_SSH_PUBLIC_KEY
static String
DEFAULT_SSH_USER
String
host
-
Fields inherited from class hudson.slaves.ComputerLauncher
LIST
-
-
Constructor Summary
Constructors Constructor Description SshComputerLauncher(String host, int connectTimeoutMillis, String jenkinsAgentUser, String customJavaPath, String customJVMOpts, String initScript, int initScriptTimeoutSeconds, String sshCredentialsId, boolean verificationStrategy)
SshComputerLauncher(String host, int connectTimeoutMillis, String jenkinsAgentUser, String customJavaPath, String customJVMOpts, String initScript, int initScriptTimeoutSeconds, String sshCredentialsId, int sshPort, boolean verificationStrategy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
launch(SlaveComputer computer, TaskListener listener)
-
Methods inherited from class hudson.slaves.ComputerLauncher
afterDisconnect, afterDisconnect, beforeDisconnect, beforeDisconnect, checkJavaVersion, isLaunchSupported, launch
-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Field Detail
-
DEFAULT_SSH_USER
public static final String DEFAULT_SSH_USER
- See Also:
- Constant Field Values
-
DEFAULT_SSH_PORT
public static final int DEFAULT_SSH_PORT
- See Also:
- Constant Field Values
-
DEFAULT_SSH_PUBLIC_KEY
public static final String DEFAULT_SSH_PUBLIC_KEY
- See Also:
- Constant Field Values
-
host
public final String host
-
-
Method Detail
-
launch
public void launch(SlaveComputer computer, TaskListener listener) throws IOException, InterruptedException
- Overrides:
launch
in classComputerLauncher
- Throws:
IOException
InterruptedException
-
-