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

Change coverage values from integer to two-decimal value on build detail

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • jacoco-plugin
    • None

      Shortly first - we need show coverage values on build detail with two decimal places.

      We use Bitbucket Pull Requests Builder functionality on Jenkins to check java pull requests on out project. One of out measurements on PR is (line) coverage percentage. But one PR often change only part of percent point. Example:

      Main branch has 85,99% coverage, after PR build ir has 85,50%. So one PR "steal" half percent of coverage BUT! we still see coverage as 85% because build detail shows only integer (whole number) value. We need to check build coverage exactly but it is not possible for now.

      PIC1: Coverage on dashboard - OK here.
      PIC2: Docerage on build detail - NOT ok here.

      Bottom line: i think it is not good to show same value with different representation on different places on Jenkins web UI.

        1. pic2.png
          pic2.png
          13 kB
        2. pic1.png
          pic1.png
          6 kB

            ognjenb Ognjen Bubalo
            bigboban Petr Leitner
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: