Class ComputeEngineWindowsLauncher
java.lang.Object
hudson.slaves.ComputerLauncher
com.google.jenkins.plugins.computeengine.ComputeEngineComputerLauncher
com.google.jenkins.plugins.computeengine.ComputeEngineWindowsLauncher
- All Implemented Interfaces:
ExtensionPoint,Describable<ComputerLauncher>
Launcher for Windows agents
Launches Compute Engine Windows instances
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class com.google.jenkins.plugins.computeengine.ComputeEngineComputerLauncher
BOOTSTRAP_AUTH_SLEEP_DURATION, BOOTSTRAP_AUTH_TRIES, useInternalAddressFields inherited from class hudson.slaves.ComputerLauncher
LIST -
Constructor Summary
ConstructorsConstructorDescriptionComputeEngineWindowsLauncher(String cloudName, com.google.api.services.compute.model.Operation insertOperation, boolean useInternalAddress) -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanauthenticateSSH(String windowsUsername, WindowsConfiguration windowsConfig, com.trilead.ssh2.Connection sshConnection, TaskListener listener) protected Loggerprotected Stringprotected Optional<com.trilead.ssh2.Connection> setupConnection(ComputeEngineInstance node, ComputeEngineComputer computer, TaskListener listener) Methods inherited from class com.google.jenkins.plugins.computeengine.ComputeEngineComputerLauncher
connectToSsh, isUseInternalAddress, launch, log, log, logException, logInfo, logSevere, logWarningMethods inherited from class hudson.slaves.ComputerLauncher
afterDisconnect, afterDisconnect, beforeDisconnect, beforeDisconnect, checkJavaVersion, isLaunchSupported, launchMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.model.Describable
getDescriptor
-
Constructor Details
-
ComputeEngineWindowsLauncher
public ComputeEngineWindowsLauncher(String cloudName, com.google.api.services.compute.model.Operation insertOperation, boolean useInternalAddress)
-
-
Method Details
-
getLogger
- Specified by:
getLoggerin classComputeEngineComputerLauncher
-
setupConnection
protected Optional<com.trilead.ssh2.Connection> setupConnection(ComputeEngineInstance node, ComputeEngineComputer computer, TaskListener listener) throws Exception - Specified by:
setupConnectionin classComputeEngineComputerLauncher- Throws:
Exception
-
authenticateSSH
public static boolean authenticateSSH(String windowsUsername, WindowsConfiguration windowsConfig, com.trilead.ssh2.Connection sshConnection, TaskListener listener) throws Exception - Throws:
Exception
-
getPathSeparator
- Specified by:
getPathSeparatorin classComputeEngineComputerLauncher
-