Class DockerNodeStepExecution

java.lang.Object
org.jenkinsci.plugins.workflow.steps.StepExecution
org.jenkinsci.plugins.workflow.steps.AbstractStepExecutionImpl
it.dockins.dockerslaves.pipeline.DockerNodeStepExecution
All Implemented Interfaces:
Serializable

public class DockerNodeStepExecution extends org.jenkinsci.plugins.workflow.steps.AbstractStepExecutionImpl
This class is heavily based (so to speak...) on org.jenkinsci.plugins.workflow.support.steps.ExecutorStepExecution The original code cannot be easily extended, PlaceholderTask constructor is private for example. As much as we hate copy / pasting, as an experimental implementation, we feel that it is still interesting to test the approach. See https://github.com/jenkinsci/workflow-durable-task-step-plugin/pull/15 for a discussion about that.
See Also:
  • Constructor Details

    • DockerNodeStepExecution

      public DockerNodeStepExecution()
  • Method Details

    • start

      public boolean start() throws Exception
      Specified by:
      start in class org.jenkinsci.plugins.workflow.steps.StepExecution
      Throws:
      Exception
    • stop

      public void stop(Throwable cause)
      Overrides:
      stop in class org.jenkinsci.plugins.workflow.steps.StepExecution
    • onResume

      public void onResume()
      Overrides:
      onResume in class org.jenkinsci.plugins.workflow.steps.AbstractStepExecutionImpl
    • getStatus

      public String getStatus()
      Overrides:
      getStatus in class org.jenkinsci.plugins.workflow.steps.StepExecution