Package hudson.tasks.junit.pipeline
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
ConstructorDescriptionJUnitResultsStepExecution
(JUnitResultsStep step, org.jenkinsci.plugins.workflow.steps.StepContext context) -
Method Summary
Modifier and TypeMethodDescriptiongetEnclosingBlockIds
(List<org.jenkinsci.plugins.workflow.graph.FlowNode> nodes) 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.protected TestResultSummary
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
applyAll, applyAll, getContext, getStatusBounded
-
Constructor Details
-
JUnitResultsStepExecution
public JUnitResultsStepExecution(@NonNull JUnitResultsStep step, org.jenkinsci.plugins.workflow.steps.StepContext context)
-
-
Method Details
-
run
- Specified by:
run
in classorg.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
-
getEnclosingBlockNames
-