hudson.plugins.ec2.ssh
Class EC2UnixLauncher
java.lang.Object
hudson.model.AbstractDescribableImpl<hudson.slaves.ComputerLauncher>
hudson.slaves.ComputerLauncher
hudson.plugins.ec2.EC2ComputerLauncher
hudson.plugins.ec2.ssh.EC2UnixLauncher
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.slaves.ComputerLauncher>
public class EC2UnixLauncher
- extends EC2ComputerLauncher
ComputerLauncher that connects to a Unix slave on EC2 by using SSH.
- Author:
- Kohsuke Kawaguchi
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Fields inherited from class hudson.slaves.ComputerLauncher |
LIST |
| Methods inherited from class hudson.slaves.ComputerLauncher |
afterDisconnect, afterDisconnect, beforeDisconnect, beforeDisconnect, isLaunchSupported, launch |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EC2UnixLauncher
public EC2UnixLauncher()
buildUpCommand
protected String buildUpCommand(EC2Computer computer,
String command)
launch
protected void launch(EC2Computer computer,
PrintStream logger,
com.amazonaws.services.ec2.model.Instance inst)
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:
launch in class EC2ComputerLauncher
- Throws:
IOException
com.amazonaws.AmazonClientException
InterruptedException
getDescriptor
public hudson.model.Descriptor<hudson.slaves.ComputerLauncher> getDescriptor()
- Specified by:
getDescriptor in interface hudson.model.Describable<hudson.slaves.ComputerLauncher>- Overrides:
getDescriptor in class hudson.model.AbstractDescribableImpl<hudson.slaves.ComputerLauncher>
Copyright © 2004-2012 Hudson. All Rights Reserved.