Class StopCommand

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

public class StopCommand extends DockerCommand
This command stops one or more Docker containers.
Author:
vjuranek
See Also:
  • Constructor Details

    • StopCommand

      @DataBoundConstructor public StopCommand(String containerIds)
  • Method Details

    • getContainerIds

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