Class DockerContainerConsoleAction
java.lang.Object
hudson.model.AbstractModelObject
hudson.model.TaskAction
org.jenkinsci.plugins.dockerbuildstep.action.DockerContainerConsoleAction
- All Implemented Interfaces:
Action
,ModelObject
,SearchableModelObject
,SearchItem
,Serializable
Jenkins action to add a 'Console Output' like page for the Docker container output. Container output is gathered
using the
AttachContainerCmd
.- See Also:
-
Nested Class Summary
-
Field Summary
Fields inherited from class hudson.model.TaskAction
log, workerThread
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ACL
getACL()
AbstractBuild
<?, ?> getOwner()
protected Permission
boolean
void
setContainerName
(String containerName) start()
void
stop()
void
writeLogTo
(long offset, org.apache.commons.jelly.XMLOutput out) Methods inherited from class hudson.model.TaskAction
doClearError, doProgressiveHtml, doProgressiveLog, getLog, getSearchUrl, getWorkerThread
Methods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
-
Constructor Details
-
DockerContainerConsoleAction
-
-
Method Details
-
getIconFileName
- Specified by:
getIconFileName
in interfaceAction
- Specified by:
getIconFileName
in classTaskAction
-
getDisplayName
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getFullDisplayName
-
getUrlName
- Specified by:
getUrlName
in interfaceAction
-
getOwner
-
getPermission
- Specified by:
getPermission
in classTaskAction
-
getACL
- Specified by:
getACL
in classTaskAction
-
getBuildStatusUrl
-
setContainerName
-
getLogFile
-
obtainLog
- Overrides:
obtainLog
in classTaskAction
-
isLogUpdated
public boolean isLogUpdated() -
getLogInputStream
- Throws:
IOException
-
writeLogTo
- Throws:
IOException
-
start
- Throws:
IOException
-
stop
public void stop()
-