public class EC2UnixLauncher extends EC2ComputerLauncher
ComputerLauncher
that connects to a Unix agent on EC2 by using SSH.ExtensionPoint.LegacyInstancesAreScopedToHudson
LIST
Constructor and Description |
---|
EC2UnixLauncher() |
Modifier and Type | Method and Description |
---|---|
protected String |
buildUpCommand(EC2Computer computer,
String command) |
Descriptor<ComputerLauncher> |
getDescriptor() |
protected void |
launchScript(EC2Computer computer,
TaskListener listener)
Stage 2 of the launch.
|
protected void |
log(Level level,
EC2Computer computer,
TaskListener listener,
String message) |
protected void |
logException(EC2Computer computer,
TaskListener listener,
String message,
Throwable exception) |
protected void |
logInfo(EC2Computer computer,
TaskListener listener,
String message) |
protected void |
logWarning(EC2Computer computer,
TaskListener listener,
String message) |
launch
afterDisconnect, afterDisconnect, beforeDisconnect, beforeDisconnect, checkJavaVersion, isLaunchSupported, launch
protected void log(Level level, EC2Computer computer, TaskListener listener, String message)
protected void logException(EC2Computer computer, TaskListener listener, String message, Throwable exception)
protected void logInfo(EC2Computer computer, TaskListener listener, String message)
protected void logWarning(EC2Computer computer, TaskListener listener, String message)
protected String buildUpCommand(EC2Computer computer, String command)
protected void launchScript(EC2Computer computer, TaskListener listener) throws IOException, com.amazonaws.AmazonClientException, InterruptedException
EC2ComputerLauncher
launchScript
in class EC2ComputerLauncher
IOException
com.amazonaws.AmazonClientException
InterruptedException
public Descriptor<ComputerLauncher> getDescriptor()
getDescriptor
in interface Describable<ComputerLauncher>
getDescriptor
in class AbstractDescribableImpl<ComputerLauncher>
Copyright © 2016–2022. All rights reserved.