Package hudson.plugins.ec2.ssh
Class EC2UnixLauncher
java.lang.Object
hudson.model.AbstractDescribableImpl<ComputerLauncher>
hudson.slaves.ComputerLauncher
hudson.plugins.ec2.EC2ComputerLauncher
hudson.plugins.ec2.ssh.EC2SSHLauncher
hudson.plugins.ec2.ssh.EC2UnixLauncher
- 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 class hudson.plugins.ec2.ssh.EC2SSHLauncher
EC2SSHLauncher.ServerKeyVerifierImplNested 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 voidlaunchScript(EC2Computer computer, TaskListener listener) Stage 2 of the launch.Methods inherited from class hudson.plugins.ec2.ssh.EC2SSHLauncher
bootstrap, buildUpCommand, connectToSsh, createHostKeyFile, createIdentityKeyFile, executeRemote, executeRemote, getDescriptor, getEC2HostAddress, getEC2HostKeyAlgorithmFlag, launchRemotingAgent, log, logException, logInfo, logWarningMethods inherited from class hudson.plugins.ec2.EC2ComputerLauncher
createScpClient, launch, waitCompletionMethods inherited from class hudson.slaves.ComputerLauncher
afterDisconnect, afterDisconnect, beforeDisconnect, beforeDisconnect, checkJavaVersion, isLaunchSupported, launch
-
Constructor Details
-
EC2UnixLauncher
public EC2UnixLauncher()
-
-
Method Details
-
launchScript
protected void launchScript(EC2Computer computer, TaskListener listener) throws IOException, software.amazon.awssdk.core.exception.SdkException, InterruptedException Description copied from class:EC2ComputerLauncherStage 2 of the launch. Called after the EC2 instance comes up.- Specified by:
launchScriptin classEC2ComputerLauncher- Throws:
IOExceptionsoftware.amazon.awssdk.core.exception.SdkExceptionInterruptedException
-