public class DockerComputer extends hudson.slaves.AbstractCloudComputer<DockerSlave>
| Constructor and Description |
|---|
DockerComputer(DockerSlave dockerSlave,
hudson.model.Job job) |
| Modifier and Type | Method and Description |
|---|---|
DockerJobContainersProvisioner |
createProvisioner(hudson.model.TaskListener slaveListener)
Create a container provisioner to setup this Jenkins "computer" (aka executor)
|
hudson.model.Job |
getJob() |
DockerJobContainersProvisioner |
getProvisioner() |
void |
taskCompleted(hudson.model.Executor executor,
hudson.model.Queue.Task task,
long durationMS) |
void |
taskCompletedWithProblems(hudson.model.Executor executor,
hudson.model.Queue.Task task,
long durationMS,
Throwable problems) |
_connect, disconnect, doDoDisconnect, doLaunchSlaveAgent, doSlaveAgentJnlp, getAbsoluteRemoteFs, getChannel, getChannelToMaster, getClassLoadingCount, getClassLoadingPrefetchCacheCount, getClassLoadingTime, getDefaultCharset, 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, tryReconnect_doScript, addAction, buildEnvironment, checkPermission, cliConnect, cliDisconnect, cliOffline, cliOnline, connect, countBusy, countExecutors, countIdle, currentComputer, disconnect, doChangeOfflineCause, doConfigDotXml, doConfigSubmit, 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, getLogFile, getLogText, getMonitorData, getName, getNumExecutors, getOfflineCause, getOfflineCauseReason, getOneOffExecutors, getSearchUrl, getSystemProperties, getTerminatedBy, getThreadDump, getTiedJobs, getTimeline, getUrl, getWorkspaceList, hasPermission, interrupt, isAlive, isIdle, isManualLaunchAllowed, isOffline, isOnline, isPartiallyIdle, isTemporarilyOffline, launch, onRemoved, recordTermination, relocateOldLogs, resolveForCLI, setTemporarilyOffline, setTemporarilyOffline, updateByXml, waitUntilOffline, waitUntilOnlinedoContextMenu, getAction, getAction, getActions, getAllActions, getDynamic, replaceActionpublic DockerComputer(DockerSlave dockerSlave, hudson.model.Job job)
public DockerJobContainersProvisioner createProvisioner(hudson.model.TaskListener slaveListener) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void taskCompleted(hudson.model.Executor executor,
hudson.model.Queue.Task task,
long durationMS)
taskCompleted in interface hudson.model.ExecutorListenertaskCompleted in class hudson.slaves.SlaveComputerpublic void taskCompletedWithProblems(hudson.model.Executor executor,
hudson.model.Queue.Task task,
long durationMS,
Throwable problems)
taskCompletedWithProblems in interface hudson.model.ExecutorListenertaskCompletedWithProblems in class hudson.slaves.SlaveComputerpublic hudson.model.Job getJob()
public DockerJobContainersProvisioner getProvisioner()
Copyright © 2004-2015. All Rights Reserved.