Class KillCommand

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

public class KillCommand extends DockerCommand
This command kills specified container(s).
Author:
vjuranek
See Also:
  • Constructor Details

    • KillCommand

      @DataBoundConstructor public KillCommand(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