From 2dbddd9f797b7b7a9348048df79e3a5565c23c7c Mon Sep 17 00:00:00 2001 From: GongYi Date: Tue, 22 Nov 2022 00:15:12 +0800 Subject: [PATCH] Use JUnitResultArchiver#parseAndSummarize method which supports the Jenkins JUnit SQL storage. (#558) Co-authored-by: Gong Yi --- .../maven/publishers/JunitTestsPublisher.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/publishers/JunitTestsPublisher.java b/jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/publishers/JunitTestsPublisher.java index b9d0d4cb..63e468b1 100644 --- a/jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/publishers/JunitTestsPublisher.java +++ b/jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/publishers/JunitTestsPublisher.java @@ -33,7 +33,7 @@ import hudson.model.TaskListener; import hudson.tasks.junit.JUnitResultArchiver; import hudson.tasks.junit.TestDataPublisher; -import hudson.tasks.junit.TestResultAction; +import hudson.tasks.junit.TestResultSummary; import hudson.tasks.junit.pipeline.JUnitResultsStepExecution; import hudson.tasks.test.PipelineTestDetails; import org.jenkinsci.Symbol; @@ -347,23 +347,23 @@ private void executeReporter(StepContext context, TaskListener listener, List