Class StartByImageIdCommand

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

public class StartByImageIdCommand extends DockerCommand
This command starts all containers create from specified image ID. It also exports some build environment variable like IP or started containers.
Author:
vjuranek
  • Constructor Details

    • StartByImageIdCommand

      @DataBoundConstructor public StartByImageIdCommand(String imageId)
  • Method Details

    • getImageId

      public String getImageId()
    • 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