Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding coverage summary on build status/result page. #61

Merged
merged 1 commit into from Nov 17, 2015

Conversation

felipebn
Copy link

Hello guys,

My team needed an easier way to know the coverage status and we believed that the best place to show it was on build status page.
As we found two tickets asking for it, we dig the code and included as a table on build status page.

Related tickets:

We included the following:

  • jacoco logo (48x48 png) to show on build status page
  • summary.jelly for JacocoBuildAction, which will be presented
    on build status page
  • JacocoBuildAction.getCoverageRatios() to expose coverage
    ratios to summary.jelly in order to build the table showing coverage
    summary for the current build

Build status page after this change:
Build status with jacoco summary

- Including summary.jelly for JacocoBuildAction, which will be presented
on build status page
- Including JacocoBuildAction.getCoverageRatios to expose coverage
ratios to summary.jelly in order to build the table showing coverage
sumary for the current build
@jenkinsadmin
Copy link
Member

Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests

centic9 added a commit that referenced this pull request Nov 17, 2015
Add coverage summary on build status/result page
@centic9 centic9 merged commit 5ecbb3d into jenkinsci:master Nov 17, 2015
@shubhansha21
Copy link

@jenkinsadmin @felipebn how can I integrate this in my jenkins job?

@centic9
Copy link
Member

centic9 commented Jul 14, 2016

By using version 2.0 or newer of the jacoco-plugin?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants