Class ComputeEngineComputerLauncher
java.lang.Object
hudson.model.AbstractDescribableImpl<ComputerLauncher>
hudson.slaves.ComputerLauncher
com.google.jenkins.plugins.computeengine.ComputeEngineComputerLauncher
- All Implemented Interfaces:
ExtensionPoint
,Describable<ComputerLauncher>
- Direct Known Subclasses:
ComputeEngineLinuxLauncher
,ComputeEngineWindowsLauncher
-
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
ConstructorDescriptionComputeEngineComputerLauncher
(String cloudName, String insertOperationId, String zone, boolean useInternalAddress) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.trilead.ssh2.Connection
connectToSsh
(ComputeEngineComputer computer, TaskListener listener) protected abstract Logger
protected abstract String
boolean
void
launch
(SlaveComputer slaveComputer, TaskListener listener) static void
log
(Logger logger, Level level, TaskListener listener, String message) static void
protected void
logException
(ComputeEngineComputer computer, TaskListener listener, String message, Throwable exception) protected void
logInfo
(ComputeEngineComputer computer, TaskListener listener, String message) protected void
logSevere
(ComputeEngineComputer computer, TaskListener listener, String message) protected void
logWarning
(ComputeEngineComputer computer, TaskListener listener, String message) protected abstract Optional<com.trilead.ssh2.Connection>
setupConnection
(ComputeEngineInstance node, ComputeEngineComputer computer, TaskListener listener) Methods inherited from class hudson.slaves.ComputerLauncher
afterDisconnect, afterDisconnect, beforeDisconnect, beforeDisconnect, checkJavaVersion, isLaunchSupported, launch
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Field Details
-
useInternalAddress
protected final boolean useInternalAddress
-
-
Constructor Details
-
ComputeEngineComputerLauncher
-
-
Method Details
-
log
-
log
public static void log(Logger logger, Level level, TaskListener listener, String message, Throwable exception) -
logException
protected void logException(ComputeEngineComputer computer, TaskListener listener, String message, Throwable exception) -
logInfo
-
logWarning
-
logSevere
-
getLogger
-
launch
- Overrides:
launch
in classComputerLauncher
-
setupConnection
protected abstract Optional<com.trilead.ssh2.Connection> setupConnection(ComputeEngineInstance node, ComputeEngineComputer computer, TaskListener listener) throws Exception - Throws:
Exception
-
getPathSeparator
-
connectToSsh
protected com.trilead.ssh2.Connection connectToSsh(ComputeEngineComputer computer, TaskListener listener) throws Exception - Throws:
Exception
-
isUseInternalAddress
public boolean isUseInternalAddress()
-