Package hudson.plugins.ec2.ssh
Class EC2MacLauncher
java.lang.Object
hudson.model.AbstractDescribableImpl<ComputerLauncher>
hudson.slaves.ComputerLauncher
hudson.plugins.ec2.EC2ComputerLauncher
hudson.plugins.ec2.ssh.EC2MacLauncher
- All Implemented Interfaces:
ExtensionPoint
,Describable<ComputerLauncher>
ComputerLauncher
that connects to a Unix agent on EC2 by using SSH.- Author:
- Kohsuke Kawaguchi
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class hudson.slaves.ComputerLauncher
LIST
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
buildUpCommand
(EC2Computer computer, String command) 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) Methods inherited from class hudson.plugins.ec2.EC2ComputerLauncher
createScpClient, launch, waitCompletion
Methods inherited from class hudson.slaves.ComputerLauncher
afterDisconnect, afterDisconnect, beforeDisconnect, beforeDisconnect, checkJavaVersion, isLaunchSupported, launch
-
Constructor Details
-
EC2MacLauncher
public EC2MacLauncher()
-
-
Method Details
-
log
-
logException
protected void logException(EC2Computer computer, TaskListener listener, String message, Throwable exception) -
logInfo
-
logWarning
-
buildUpCommand
-
launchScript
protected void launchScript(EC2Computer computer, TaskListener listener) throws IOException, com.amazonaws.AmazonClientException, InterruptedException Description copied from class:EC2ComputerLauncher
Stage 2 of the launch. Called after the EC2 instance comes up.- Specified by:
launchScript
in classEC2ComputerLauncher
- Throws:
IOException
com.amazonaws.AmazonClientException
InterruptedException
-
getDescriptor
- Specified by:
getDescriptor
in interfaceDescribable<ComputerLauncher>
- Overrides:
getDescriptor
in classAbstractDescribableImpl<ComputerLauncher>
-