Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-3869

Red/green results bars for Cobertura plugin

    Details

    • Type: Patch
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: cobertura-plugin
    • Labels:
      None
    • Environment:
      Platform: All, OS: All

      Description

      I'm submitting this patch on behalf of Neill Robbins, who contributed the code. I merely did a bit of
      touch-up and packaging.

      This patch modifies the Cobertura plugin so that on the results pages, coverage levels are displayed as a
      green and red bar, rather than just a numeric ratio.

      Attached:
      -the patch file
      -a screenshot of how it looks before the patch
      -a screenshot of how it looks after the patch

      1. ResultsBar.patch.txt
        4 kB
        davidmc24
      1. ResultsBarAfter.png
        74 kB
      2. ResultsBarBefore.png
        66 kB

        Activity

        Hide
        davidmc24 davidmc24 added a comment -

        Created an attachment (id=738)
        The patch file

        Show
        davidmc24 davidmc24 added a comment - Created an attachment (id=738) The patch file
        Hide
        davidmc24 davidmc24 added a comment -

        Created an attachment (id=739)
        Before screenshot

        Show
        davidmc24 davidmc24 added a comment - Created an attachment (id=739) Before screenshot
        Hide
        davidmc24 davidmc24 added a comment -

        Created an attachment (id=740)
        After screenshot

        Show
        davidmc24 davidmc24 added a comment - Created an attachment (id=740) After screenshot
        Hide
        scm_issue_link SCM/JIRA link daemon added a comment -

        Code changed in hudson
        User: : davidmc24
        Path:
        trunk/hudson/plugins/cobertura/src/main/resources/hudson/plugins/cobertura/targets/CoverageResult/index.jelly
        trunk/hudson/plugins/cobertura/src/main/webapp/css/style.css
        trunk/hudson/plugins/cobertura/src/test/java/hudson/plugins/cobertura/CoberturaCoverageParserTest.java
        http://fisheye4.cenqua.com/changelog/hudson/?cs=19511
        Log:
        [FIXED JENKINS-3869] Applied patch to add red/green results bars to Cobertura plugin.

        Show
        scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : davidmc24 Path: trunk/hudson/plugins/cobertura/src/main/resources/hudson/plugins/cobertura/targets/CoverageResult/index.jelly trunk/hudson/plugins/cobertura/src/main/webapp/css/style.css trunk/hudson/plugins/cobertura/src/test/java/hudson/plugins/cobertura/CoberturaCoverageParserTest.java http://fisheye4.cenqua.com/changelog/hudson/?cs=19511 Log: [FIXED JENKINS-3869] Applied patch to add red/green results bars to Cobertura plugin.
        Hide
        davidmc24 davidmc24 added a comment -

        Included in Cobertura plugin version 0.8.9

        Show
        davidmc24 davidmc24 added a comment - Included in Cobertura plugin version 0.8.9
        Hide
        davidmc24 davidmc24 added a comment -

        Confirmed by patch submitter.

        Show
        davidmc24 davidmc24 added a comment - Confirmed by patch submitter.

          People

          • Assignee:
            davidmc24 davidmc24
            Reporter:
            davidmc24 davidmc24
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: