Package org.jenkinsci.plugins.xunit
Class XUnitProcessor
java.lang.Object
org.jenkinsci.plugins.xunit.XUnitProcessor
- Author:
- Gregory Boissinot
-
Constructor Summary
ConstructorDescriptionXUnitProcessor
(org.jenkinsci.lib.dtkit.type.TestType[] tools, XUnitThreshold[] thresholds, int thresholdMode, ExtraConfiguration extraConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionprotected XUnitToolInfo
buildXUnitToolInfo
(org.jenkinsci.lib.dtkit.type.TestType tool, Run<?, ?> build, FilePath workspace, TaskListener listener) protected XUnitTransformerCallable
newXUnitTransformer
(XUnitToolInfo xUnitToolInfo) process
(Run<?, ?> build, FilePath workspace, TaskListener listener, Launcher launcher, Collection<hudson.tasks.junit.TestDataPublisher> testDataPublishers, hudson.tasks.test.PipelineTestDetails pipelineTestDetails) processResultThreshold
(hudson.tasks.junit.TestResultSummary testResult, Run<?, ?> build) void
publishChecks
(Run<?, ?> build, XUnitProcessorResult result, Result buildResult, TaskListener listener, hudson.tasks.test.PipelineTestDetails pipelineTestDetails)
-
Constructor Details
-
XUnitProcessor
public XUnitProcessor(@NonNull org.jenkinsci.lib.dtkit.type.TestType[] tools, @CheckForNull XUnitThreshold[] thresholds, int thresholdMode, @NonNull ExtraConfiguration extraConfiguration)
-
-
Method Details
-
process
public XUnitProcessorResult process(Run<?, ?> build, FilePath workspace, TaskListener listener, Launcher launcher, @NonNull Collection<hudson.tasks.junit.TestDataPublisher> testDataPublishers, @CheckForNull hudson.tasks.test.PipelineTestDetails pipelineTestDetails) throws IOException, InterruptedException- Throws:
IOException
InterruptedException
-
publishChecks
public void publishChecks(Run<?, ?> build, @NonNull XUnitProcessorResult result, @NonNull Result buildResult, TaskListener listener, @CheckForNull hudson.tasks.test.PipelineTestDetails pipelineTestDetails) -
buildXUnitToolInfo
protected XUnitToolInfo buildXUnitToolInfo(org.jenkinsci.lib.dtkit.type.TestType tool, Run<?, ?> build, FilePath workspace, TaskListener listener) throws IOException, InterruptedException- Throws:
IOException
InterruptedException
-
newXUnitTransformer
-
processResultThreshold
-