Class JUnitResultsStepExecution

java.lang.Object
org.jenkinsci.plugins.workflow.steps.StepExecution
org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution<TestResultSummary>
hudson.tasks.junit.pipeline.JUnitResultsStepExecution
All Implemented Interfaces:
Serializable

public class JUnitResultsStepExecution extends org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution<TestResultSummary>
See Also:
  • Constructor Details

    • JUnitResultsStepExecution

      public JUnitResultsStepExecution(@NonNull JUnitResultsStep step, org.jenkinsci.plugins.workflow.steps.StepContext context)
  • Method Details

    • run

      protected TestResultSummary run() throws Exception
      Specified by:
      run in class org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution<TestResultSummary>
      Throws:
      Exception
    • getEnclosingStagesAndParallels

      @NonNull public static List<org.jenkinsci.plugins.workflow.graph.FlowNode> getEnclosingStagesAndParallels(org.jenkinsci.plugins.workflow.graph.FlowNode node)
      Get the stage and parallel branch start node IDs (not the body nodes) for this node, innermost first.
      Parameters:
      node - A flownode.
      Returns:
      A nonnull, possibly empty list of stage/parallel branch start nodes, innermost first.
    • getEnclosingBlockIds

      @NonNull public static List<String> getEnclosingBlockIds(@NonNull List<org.jenkinsci.plugins.workflow.graph.FlowNode> nodes)
    • getEnclosingBlockNames

      @NonNull public static List<String> getEnclosingBlockNames(@NonNull List<org.jenkinsci.plugins.workflow.graph.FlowNode> nodes)