jenkins.plugins.jclouds.compute
Class JCloudsLauncher
java.lang.Object
hudson.model.AbstractDescribableImpl<hudson.slaves.ComputerLauncher>
hudson.slaves.ComputerLauncher
jenkins.plugins.jclouds.compute.JCloudsLauncher
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.slaves.ComputerLauncher>
public class JCloudsLauncher
- extends hudson.slaves.ComputerLauncher
The launcher that launches the jenkins slave.jar on the Slave. Uses the SSHKeyPair configured in the
cloud profile settings, and logs in to the server via SSH, and starts the slave.jar.
- Author:
- Vijay Kiran
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Fields inherited from class hudson.slaves.ComputerLauncher |
LIST |
|
Method Summary |
static String[] |
getConnectionAddresses(org.jclouds.compute.domain.NodeMetadata nodeMetadata,
PrintStream logger)
Get the potential addresses to connect to, opting for public first and then private. |
hudson.model.Descriptor<hudson.slaves.ComputerLauncher> |
getDescriptor()
|
void |
launch(hudson.slaves.SlaveComputer computer,
hudson.model.TaskListener listener)
Launch the Jenkins Slave on the SlaveComputer. |
| 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 |
JCloudsLauncher
public JCloudsLauncher()
launch
public void launch(hudson.slaves.SlaveComputer computer,
hudson.model.TaskListener listener)
throws IOException,
InterruptedException
- Launch the Jenkins Slave on the SlaveComputer.
- Overrides:
launch in class hudson.slaves.ComputerLauncher
- Parameters:
computer - listener -
- Throws:
IOException
InterruptedException
getConnectionAddresses
public static String[] getConnectionAddresses(org.jclouds.compute.domain.NodeMetadata nodeMetadata,
PrintStream logger)
- Get the potential addresses to connect to, opting for public first and then private.
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. All Rights Reserved.