Class EphemeralContainerKubernetesComputer
java.lang.Object
hudson.model.AbstractModelObject
hudson.model.Actionable
hudson.model.Computer
hudson.slaves.SlaveComputer
hudson.slaves.AbstractCloudComputer<org.csanchez.jenkins.plugins.kubernetes.KubernetesSlave>
org.csanchez.jenkins.plugins.kubernetes.KubernetesComputer
io.jenkins.plugins.kubernetes.ephemeral.EphemeralContainerKubernetesComputer
- All Implemented Interfaces:
ExtensionPoint,DescriptorByNameOwner,ExecutorListener,ModelObject,SearchableModelObject,SearchItem,AccessControlled,IComputer,ModelObjectWithContextMenu,HasWidgets,IconSpec,org.kohsuke.stapler.StaplerProxy
public class EphemeralContainerKubernetesComputer
extends org.csanchez.jenkins.plugins.kubernetes.KubernetesComputer
Extension of
KubernetesComputer that adds build environment variables.-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Computer
Computer.InternalComputerListener, Computer.TerminationRequestNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudsonNested classes/interfaces inherited from interface jenkins.model.ModelObjectWithContextMenu
ModelObjectWithContextMenu.ContextMenu, ModelObjectWithContextMenu.ContextMenuVisibility, ModelObjectWithContextMenu.MenuItem, ModelObjectWithContextMenu.MenuItemType -
Field Summary
Fields inherited from class hudson.slaves.SlaveComputer
ALLOW_UNSUPPORTED_REMOTING_VERSIONSFields inherited from class hudson.model.Computer
BUILD, CONFIGURE, CONNECT, CREATE, DELETE, DISCONNECT, EXTENDED_READ, EXTENDED_READ_AND_CONNECT, nodeName, offlineCause, PERMISSIONS, SKIP_PERMISSION_CHECK, statusChangeLock, threadPoolForRemoting, transientActions -
Constructor Summary
ConstructorsConstructorDescriptionEphemeralContainerKubernetesComputer(org.csanchez.jenkins.plugins.kubernetes.KubernetesSlave slave) -
Method Summary
Methods inherited from class org.csanchez.jenkins.plugins.kubernetes.KubernetesComputer
annotateTtl, doContainerLog, getACL, getContainers, getPodEvents, isLaunching, setAcceptingTasks, setLaunching, taskAccepted, taskCompleted, taskCompletedWithProblems, toStringMethods inherited from class hudson.slaves.AbstractCloudComputer
doDoDelete, getNodeMethods inherited from class hudson.slaves.SlaveComputer
_connect, disconnect, doDoDisconnect, doJenkinsAgentJnlp, doLaunchSlaveAgent, doSlaveAgentJnlp, doSubmitDescription, getAbsoluteRemoteFs, getAbsoluteRemotePath, getChannel, getChannelToMaster, getClassLoadingCount, getClassLoadingPrefetchCacheCount, getClassLoadingTime, getDefaultCharset, getDelegatedLauncher, getEnvVarsFull, getIconClassName, getJnlpJars, getJnlpMac, getLauncher, getListener, getLogRecords, getOSDescription, getResourceLoadingCount, getResourceLoadingTime, getRetentionStrategy, getSlaveVersion, getSystemInfoExtensions, getTarget, grabLauncher, isAcceptingTasks, isConnecting, isJnlpAgent, isLaunchSupported, isUnix, kill, openLogFile, setChannel, setChannel, setChannel, setChannel, setNode, taskStarted, tryReconnectMethods inherited from class hudson.model.Computer
_doScript, addAction, cliConnect, cliDisconnect, cliOffline, cliOnline, connect, countBusy, countExecutors, countIdle, currentComputer, disconnect, doChangeOfflineCause, doConfigDotXml, doConfigSubmit, doDumpExportTable, doProgressiveLog, doRssAll, doRssFailed, doRssLatest, doScript, doScriptText, doToggleOffline, getActions, getAllExecutors, getApi, getAssignedLabels, getBuilds, getCaption, getComputerPanelBoxs, getConnectTime, getDemandStartMilliseconds, getDescription, getDisplayExecutors, getDisplayName, getEnvironment, getEnvVars, getExecutors, getHeapDump, getHostName, getIcon, getIdleStartMilliseconds, getLoadStatistics, getLog, getLogDir, getLogFile, getLogText, getMonitorData, getMonitoringData, getName, getNumExecutors, getOfflineCause, getOfflineCauseReason, getOneOffExecutors, getSearchGroup, getSearchUrl, getSystemProperties, getTemporaryOfflineCauseReason, getTerminatedBy, getThreadDump, getTiedJobs, getTimeline, getUrl, getWorkspaceList, hasOfflineCause, interrupt, isAlive, isIdle, isManualLaunchAllowed, isOffline, isOnline, isPartiallyIdle, isTemporarilyOffline, launch, onRemoved, recordTermination, relocateOldLogs, removeExecutor, resolveForCLI, setOfflineCause, setTemporarilyOffline, setTemporarilyOffline, setTemporaryOfflineCause, updateByXml, waitUntilOffline, waitUntilOnlineMethods inherited from class hudson.model.Actionable
addOrReplaceAction, doContextMenu, doContextMenu, getAction, getAction, getActions, getAllActions, getDynamic, getDynamic, removeAction, removeActions, replaceAction, replaceActionsMethods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError, sendError, sendError, sendErrorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface hudson.security.AccessControlled
checkAnyPermission, checkPermission, hasAnyPermission, hasPermission, hasPermission, hasPermission2Methods inherited from interface hudson.model.DescriptorByNameOwner
getDescriptorByNameMethods inherited from interface jenkins.widgets.HasWidgets
getWidget, getWidgetsMethods inherited from interface jenkins.model.IComputer
getIconAltText, getTooltipMethods inherited from interface hudson.search.SearchItem
getSearchIcon
-
Constructor Details
-
EphemeralContainerKubernetesComputer
public EphemeralContainerKubernetesComputer(org.csanchez.jenkins.plugins.kubernetes.KubernetesSlave slave)
-
-
Method Details
-
buildEnvironment
@NonNull public EnvVars buildEnvironment(@NonNull TaskListener listener) throws IOException, InterruptedException - Overrides:
buildEnvironmentin classComputer- Throws:
IOExceptionInterruptedException
-