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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JUnitResultsStepExecution(JUnitResultsStep step, org.jenkinsci.plugins.workflow.steps.StepContext context)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods 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.protected TestResultSummary
run()
-
Methods inherited from class org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution
blocksRestart, getStatus, onResume, start, stop
-
-
-
-
Constructor Detail
-
JUnitResultsStepExecution
public JUnitResultsStepExecution(@NonNull JUnitResultsStep step, org.jenkinsci.plugins.workflow.steps.StepContext context)
-
-
Method Detail
-
run
protected TestResultSummary run() throws Exception
- 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
@NonNull public static List<String> getEnclosingBlockIds(@NonNull List<org.jenkinsci.plugins.workflow.graph.FlowNode> nodes)
-
-