Skip to content

Commit

Permalink
Merge pull request #709 from jenkinsci/update-coverage
Browse files Browse the repository at this point in the history
Address deprecated coverage report step
  • Loading branch information
oleg-nenashev authored Dec 29, 2023
2 parents 6880969 + e4025c9 commit 0787464
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ for (int i = 0; i < platforms.size(); ++i) {
tools: [java(), spotBugs(pattern: '**/target/spotbugsXml.xml')]
)

publishCoverage adapters: [jacocoAdapter(mergeToOneReport: true, path: 'vanilla-package/target/site/jacoco-aggregate/*.xml')]
recordCoverage(tools: [[parser: 'JACOCO', pattern: 'vanilla-package/target/site/jacoco-aggregate/*.xml']], sourceCodeRetention: 'MODIFIED')
}
}
}
Expand Down

0 comments on commit 0787464

Please sign in to comment.