Class TagImageCommand
java.lang.Object
org.jenkinsci.plugins.dockerbuildstep.cmd.DockerCommand
org.jenkinsci.plugins.dockerbuildstep.cmd.TagImageCommand
- All Implemented Interfaces:
ExtensionPoint, Describable<DockerCommand>
This command tags the specified Docker image.
- Author:
- draoullig
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class DockerCommand
DockerCommand.DockerCommandDescriptorNested classes/interfaces inherited from interface ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class DockerCommand
CREDENTIALS_MATCHER -
Constructor Summary
ConstructorsConstructorDescriptionTagImageCommand(String image, String repository, String tag, boolean ignoreIfNotFound, boolean withForce) -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(Launcher launcher, AbstractBuild build, ConsoleLogger console) booleangetImage()getTag()booleanMethods inherited from class DockerCommand
all, attachContainerOutput, getAuthConfig, getClient, getClient, getConfig, getDescriptor, getDockerRegistryEndpoint, getInfoString, readResolve
-
Constructor Details
-
TagImageCommand
-
-
Method Details
-
getImage
-
getRepository
-
getTag
-
getIgnoreIfNotFound
public boolean getIgnoreIfNotFound() -
getWithForce
public boolean getWithForce() -
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
-