Class CreateImageCommand
java.lang.Object
org.jenkinsci.plugins.dockerbuildstep.cmd.DockerCommand
org.jenkinsci.plugins.dockerbuildstep.cmd.CreateImageCommand
- All Implemented Interfaces:
 ExtensionPoint,Describable<DockerCommand>
This command creates a new image from specified Dockerfile.
- Author:
 - marcus
 - See Also:
 
- 
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.jenkinsci.plugins.dockerbuildstep.cmd.DockerCommand
DockerCommand.DockerCommandDescriptorNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson - 
Field Summary
Fields inherited from class org.jenkinsci.plugins.dockerbuildstep.cmd.DockerCommand
CREDENTIALS_MATCHER - 
Constructor Summary
ConstructorsConstructorDescriptionCreateImageCommand(String dockerFolder, String imageTag, String dockerFile, boolean pull, boolean noCache, boolean rm, String buildArgs)  - 
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(Launcher launcher, AbstractBuild build, ConsoleLogger console) booleanbooleanisPull()booleanisRm()Methods inherited from class org.jenkinsci.plugins.dockerbuildstep.cmd.DockerCommand
all, attachContainerOutput, getAuthConfig, getClient, getClient, getConfig, getDescriptor, getDockerRegistryEndpoint, getInfoString, readResolve 
- 
Constructor Details
- 
CreateImageCommand
 
 - 
 - 
Method Details
- 
getDockerFolder
 - 
getImageTag
 - 
getDockerFile
 - 
isPull
public boolean isPull() - 
isNoCache
public boolean isNoCache() - 
isRm
public boolean isRm() - 
getBuildArgs
 - 
execute
public void execute(Launcher launcher, AbstractBuild build, ConsoleLogger console) throws com.github.dockerjava.api.exception.DockerException - Specified by:
 executein classDockerCommand- Throws:
 com.github.dockerjava.api.exception.DockerException
 
 -