Caution
This plugin is deprecated. User must use coverage-plugin that support the OpenCover format.
See https://plugins.jenkins.io/code-coverage-api/ for code-coverage-api
deprecation notice
See https://plugins.jenkins.io/coverage/ for new recordCoverage
step
With this plugin you can publish your OpenCover coverage reports into Jenkins. It implements code-coverage-api-plugin and can generate coverage chart, fail builds using some threshold and show diff between your pull requests and target branches.
publishCoverage adapters: [opencoverAdapter(mergeToOneReport: true, path: 'testing*.xml')], sourceFileResolver: sourceFiles('NEVER_STORE')
To get better how-to information please refer to this article.
CONTRIBUTING file and make sure it is appropriate for your plugin, if not then add your own one adapted from the base file
Refer to our contribution guidelines
Licensed under MIT, see LICENSE