Package com.dubture.jenkins.digitalocean
Class DigitalOceanComputerLauncher
java.lang.Object
hudson.model.AbstractDescribableImpl<ComputerLauncher>
hudson.slaves.ComputerLauncher
com.dubture.jenkins.digitalocean.DigitalOceanComputerLauncher
- All Implemented Interfaces:
ExtensionPoint,Describable<ComputerLauncher>
The
DigitalOceanComputerLauncher is responsible for:
- Connecting to a agent via SSH
- Installing Java and the Jenkins agent to the agent
- Author:
- robert.gruendler@dubture.com
-
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 com.trilead.ssh2.ConnectiongetDropletConnection(String host, int port, PrintStream logger) voidlaunch(SlaveComputer _computer, TaskListener listener) Connects to the givenDigitalOceanComputervia SSH and installs Java/Jenkins agent if necessary.Methods inherited from class hudson.slaves.ComputerLauncher
afterDisconnect, afterDisconnect, beforeDisconnect, beforeDisconnect, checkJavaVersion, isLaunchSupported, launchMethods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
DigitalOceanComputerLauncher
public DigitalOceanComputerLauncher()
-
-
Method Details
-
launch
Connects to the givenDigitalOceanComputervia SSH and installs Java/Jenkins agent if necessary.- Overrides:
launchin classComputerLauncher
-
getDropletConnection
protected com.trilead.ssh2.Connection getDropletConnection(String host, int port, PrintStream logger) throws IOException - Throws:
IOException
-