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>
public class ComputeEngineWindowsLauncher extends ComputeEngineComputerLauncher
Launcher for Windows agentsLaunches 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
Constructors Constructor Description ComputeEngineWindowsLauncher(String cloudName, com.google.api.services.compute.model.Operation insertOperation, boolean useInternalAddress)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static boolean
authenticateSSH(String windowsUsername, WindowsConfiguration windowsConfig, com.trilead.ssh2.Connection sshConnection, TaskListener listener)
protected Logger
getLogger()
protected String
getPathSeparator()
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 Detail
-
ComputeEngineWindowsLauncher
public ComputeEngineWindowsLauncher(String cloudName, com.google.api.services.compute.model.Operation insertOperation, boolean useInternalAddress)
-
-
Method Detail
-
getLogger
protected Logger 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
protected String getPathSeparator()
- Specified by:
getPathSeparator
in classComputeEngineComputerLauncher
-
-