Class SaveImageCommand

java.lang.Object
org.jenkinsci.plugins.dockerbuildstep.cmd.DockerCommand
org.jenkinsci.plugins.dockerbuildstep.cmd.SaveImageCommand
All Implemented Interfaces:
ExtensionPoint, Describable<DockerCommand>

public class SaveImageCommand extends DockerCommand
This command saves the specified Docker image.
Author:
draoullig
See Also:
  • Constructor Details

    • SaveImageCommand

      @DataBoundConstructor public SaveImageCommand(String imageName, String imageTag, String destination, String filename, boolean ignoreIfNotFound)
  • Method Details

    • getImageName

      public String getImageName()
    • getImageTag

      public String getImageTag()
    • getDestination

      public String getDestination()
    • getFilename

      public String getFilename()
    • getIgnoreIfNotFound

      public boolean getIgnoreIfNotFound()
    • execute

      public void execute(Launcher launcher, AbstractBuild build, ConsoleLogger console) throws com.github.dockerjava.api.exception.DockerException
      Specified by:
      execute in class DockerCommand
      Throws:
      com.github.dockerjava.api.exception.DockerException