Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

jenkinsci/opencover-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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