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 Summary

    Constructors
    Constructor
    Description
    JUnitResultsStepExecution(JUnitResultsStep step, org.jenkinsci.plugins.workflow.steps.StepContext context)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static List<String>
    getEnclosingBlockIds(List<org.jenkinsci.plugins.workflow.graph.FlowNode> nodes)
     
    static List<String>
    getEnclosingBlockNames(List<org.jenkinsci.plugins.workflow.graph.FlowNode> nodes)
     
    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.
    run()
     

    Methods inherited from class org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution

    blocksRestart, getStatus, onResume, start, stop

    Methods inherited from class org.jenkinsci.plugins.workflow.steps.StepExecution

    acceptAll, acceptAll, applyAll, applyAll, getContext, getStatusBounded

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)