jenkinsci / opencover-plugin

Jenkins OpenCover Plugin
https://plugins.jenkins.io/opencover/
MIT License
3 stars 3 forks source link
deprecated report

OpenCover plugin

[!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

Build Coverage LOC Contributors GitHub release Jenkins Plugin Installs GitHub license

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.

Usage

publishCoverage adapters: [opencoverAdapter(mergeToOneReport: true, path: 'testing*.xml')], sourceFileResolver: sourceFiles('NEVER_STORE')

To get better how-to information please refer to this article.

Contributing

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

LICENSE

Licensed under MIT, see LICENSE