public abstract class OneShotComputer
extends hudson.slaves.SlaveComputer
Modifier and Type | Field and Description |
---|---|
static hudson.slaves.ComputerListener |
COMPUTER_LISTENER |
Constructor and Description |
---|
OneShotComputer(OneShotSlave slave) |
Modifier and Type | Method and Description |
---|---|
Charset |
getDefaultCharset()
We only do support Linux docker images, so we assume UTF-8.
|
hudson.model.TaskListener |
getListener() |
OneShotSlave |
getNode() |
boolean |
isActuallyOffline() |
protected boolean |
isAlive() |
boolean |
isOffline()
Claim we are online so we get task assigned to the executor, so a $
Run is created, then can actually
launch and report provisioning status in the build log. |
void |
setListener(hudson.model.TaskListener listener) |
protected void |
terminate() |
_connect, disconnect, doDoDisconnect, doLaunchSlaveAgent, doSlaveAgentJnlp, getAbsoluteRemoteFs, getChannel, getChannelToMaster, getClassLoadingCount, getClassLoadingPrefetchCacheCount, getClassLoadingTime, getIcon, getJnlpJars, getJnlpMac, getLauncher, getLogRecords, getOSDescription, getResourceLoadingCount, getResourceLoadingTime, getRetentionStrategy, getSlaveVersion, getSystemInfoExtensions, grabLauncher, isAcceptingTasks, isConnecting, isJnlpAgent, isLaunchSupported, isUnix, kill, openLogFile, setAcceptingTasks, setChannel, setChannel, setChannel, setNode, taskAccepted, taskCompleted, taskCompletedWithProblems, tryReconnect
_doScript, addAction, buildEnvironment, checkPermission, cliConnect, cliDisconnect, cliOffline, cliOnline, connect, countBusy, countExecutors, countIdle, currentComputer, disconnect, doChangeOfflineCause, doConfigDotXml, doConfigSubmit, doDoDelete, doDumpExportTable, doProgressiveLog, doRssAll, doRssFailed, doScript, doScriptText, doToggleOffline, getACL, getActions, getApi, getBuilds, getCaption, getComputerPanelBoxs, getConnectTime, getDemandStartMilliseconds, getDisplayExecutors, getDisplayName, getEnvironment, getEnvVars, getExecutors, getHeapDump, getHostName, getIconAltText, getIconClassName, getIdleStartMilliseconds, getLoadStatistics, getLog, getLogDir, getLogFile, getLogText, getMonitorData, getName, getNumExecutors, getOfflineCause, getOfflineCauseReason, getOneOffExecutors, getSearchUrl, getSystemProperties, getTerminatedBy, getThreadDump, getTiedJobs, getTimeline, getUrl, getWorkspaceList, hasPermission, interrupt, isIdle, isManualLaunchAllowed, isOnline, isPartiallyIdle, isTemporarilyOffline, launch, onRemoved, recordTermination, relocateOldLogs, resolveForCLI, setTemporarilyOffline, setTemporarilyOffline, updateByXml, waitUntilOffline, waitUntilOnline
doContextMenu, getAction, getAction, getActions, getAllActions, getDynamic, replaceAction
@Extension public static final hudson.slaves.ComputerListener COMPUTER_LISTENER
public OneShotComputer(OneShotSlave slave)
public boolean isOffline()
Run
is created, then can actually
launch and report provisioning status in the build log.isOffline
in class hudson.model.Computer
public boolean isActuallyOffline()
@Nonnull public OneShotSlave getNode()
getNode
in class hudson.slaves.SlaveComputer
protected boolean isAlive()
isAlive
in class hudson.model.Computer
protected void terminate()
public Charset getDefaultCharset()
BuildListener
before we actually launchgetDefaultCharset
in class hudson.slaves.SlaveComputer
public void setListener(hudson.model.TaskListener listener)
public hudson.model.TaskListener getListener()
Copyright © 2016–2017. All rights reserved.