Skip to content

Commit

Permalink
fix coverage record
Browse files Browse the repository at this point in the history
Signed-off-by: Olivier Lamy <[email protected]>
  • Loading branch information
olamy committed Aug 30, 2024
1 parent 316d2d9 commit 65b7232
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 48,10 @@ pipeline {
recordIssues id: "analysis-jdk17", name: "Static Analysis jdk17", aggregatingResults: true, enabledForFailure: true,
tools: [mavenConsole(), java(), checkStyle(), errorProne(), spotBugs(), javaDoc()],
skipPublishingChecks: true, skipBlames: true
recordCoverage id: "coverage-jdk17", name: "Coverage jdk17", tools: [[parser: 'JACOCO']], sourceCodeRetention: 'MODIFIED',
sourceDirectories: [[path: 'src/main/java'], [path: 'target/generated-sources/ee8']]
// recordCoverage id: "coverage-jdk17", name: "Coverage jdk17", tools: [[parser: 'JACOCO']], sourceCodeRetention: 'MODIFIED',
// sourceDirectories: [[path: 'src/main/java'], [path: 'target/generated-sources/ee8']]
recordCoverage id: "coverage-jdk17", name: "Coverage jdk17", tools: [[parser: 'JACOCO',pattern: 'target/site/jacoco-aggregate/jacoco.xml']],
sourceCodeRetention: 'LAST_BUILD', sourceDirectories: [[path: 'glob:**/src/main/java']]
}
}
}
Expand Down

0 comments on commit 65b7232

Please sign in to comment.