Skip to content

Sharpek/github-pr-coverage-status-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Pull Request Coverage Status Plugin for Jenkins

Build Status Coverage Status

https://wiki.jenkins-ci.org/display/JENKINS/GitHub+PR+Coverage+Status+Plugin

Parse code coverage report generated by build and post code coverage status comment to GitHub pull request: Example

Supports coverage reports

  • Jacoco jacoco.xml
  • Cobertura cobertura.xml or cobertura-coverage.xml
  • Clover clover.xml

How to use

  • Select or create new Jenkins build
  • Ensure that build create code coverage report file
  • Configure build to be triggered by GitHub pull request builder plugin
  • Install plugin from Jenkins Plugin Repository
  • Or manually
  • Goto releases
  • Download latest version of plugin .hpi file
  • Install to your Jenkins guide
  • Configure global settings of plugin
  • GitHub API URL keep blank for GitHub.com and fill if for dedicated instance of GitHub, example: http(s)://hostname/api/v3/
  • Set Personal Access Token (or keep blank if anonymous access enabled)
  • [Optional] Add Record Master Coverage post build step to build which test your master
  • Add Publish coverage to GitHub post build step to build. It should be triggered by GitHub pull request builder plugin

Changelog

1.0.8

First public release to Jenkins Plugin Repo

About

Nice test coverage icon for your pull requests just from Jenkins

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 95.5%
  • HTML 3.3%
  • Other 1.2%