Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 7bdb940

Browse files
committed
Ignore test JaCoCo files.
1 parent 0582734 commit 7bdb940

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def params = [
153153
discoverReferenceBuild()
154154
// Default configuration for JaCoCo can be overwritten using a `jacoco` parameter (map).
155155
// Configuration see: https://www.jenkins.io/doc/pipeline/steps/code-coverage-api/#recordcoverage-record-code-coverage-results
156-
Map jacocoArguments = [tools: [[parser: 'JACOCO']]]
156+
Map jacocoArguments = [tools: [[parser: 'JACOCO', pattern: '**/jacoco/jacoco.xml']]]
157157
if (params?.jacoco) {
158158
jacocoArguments.putAll(params.jacoco as Map)
159159
}

0 commit comments

Comments
 (0)