This is an automated email from the ASF dual-hosted git repository.

sjaranowski pushed a commit to branch fix-jenkins
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git


The following commit(s) were added to refs/heads/fix-jenkins by this push:
     new 4b989b8ca recordCoverage and ignoreParsingErrors
4b989b8ca is described below

commit 4b989b8ca140a6ac11851cdad805dbd9491b7a7f
Author: Slawomir Jaranowski <[email protected]>
AuthorDate: Tue Mar 10 08:02:31 2026 +0100

    recordCoverage and ignoreParsingErrors
---
 Jenkinsfile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index f92af8a64..5e3e41088 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -145,7 +145,8 @@ def buildProcess(String stageKey, String jdkName, String 
mvnName, goals, options
                 recordCoverage id: "coverage-${jdkName}", name: "Coverage 
${jdkName}",
                       tools: [[parser: 'JACOCO'], [parser: 'JUNIT', pattern: 
'**/target/surefire-reports/**/TEST*.xml,**/target/invoker-reports/TEST*.xml']],
                       sourceCodeRetention: 'MODIFIED',
-                      sourceDirectories: [[path: 'src/main/java']]
+                      sourceDirectories: [[path: 'src/main/java']],
+                      ignoreParsingErrors: true
             }
 
             if (errorStatus != 0) {

Reply via email to