Class ComputeEngineWindowsLauncher
java.lang.Object
hudson.model.AbstractDescribableImpl<ComputerLauncher>
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
useInternalAddress
Fields inherited from class hudson.slaves.ComputerLauncher
LIST
-
Constructor Summary
ConstructorDescriptionComputeEngineWindowsLauncher
(String cloudName, com.google.api.services.compute.model.Operation insertOperation, boolean useInternalAddress) -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
authenticateSSH
(String windowsUsername, WindowsConfiguration windowsConfig, com.trilead.ssh2.Connection sshConnection, TaskListener listener) protected Logger
protected String
protected 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, logWarning
Methods inherited from class hudson.slaves.ComputerLauncher
afterDisconnect, afterDisconnect, beforeDisconnect, beforeDisconnect, checkJavaVersion, isLaunchSupported, launch
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
ComputeEngineWindowsLauncher
public ComputeEngineWindowsLauncher(String cloudName, com.google.api.services.compute.model.Operation insertOperation, boolean useInternalAddress)
-
-
Method Details
-
getLogger
- Specified by:
getLogger
in classComputeEngineComputerLauncher
-
setupConnection
protected Optional<com.trilead.ssh2.Connection> setupConnection(ComputeEngineInstance node, ComputeEngineComputer computer, TaskListener listener) throws Exception - Specified by:
setupConnection
in 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:
getPathSeparator
in classComputeEngineComputerLauncher
-