Class ExecCreateAndStartCommand

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

public class ExecCreateAndStartCommand extends DockerCommand
  • Constructor Details

    • ExecCreateAndStartCommand

      @DataBoundConstructor public ExecCreateAndStartCommand(String containerIds, String command)
  • Method Details

    • getContainerIds

      public String getContainerIds()
    • getCommand

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