Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 1.99 KB

File metadata and controls

35 lines (27 loc) · 1.99 KB

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