• Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • cobertura-plugin
    • None

      Health options should allow the user to input in percentage increments less than 1% as for very large projects changes may not be reflected for a long time.

          [JENKINS-14659] More accurent percentages in decimals.

          Podar Wang added a comment -

          I have successfully fixed this issue.
          https://github.com/podarsmarty/cobertura-plugin

          Podar Wang added a comment - I have successfully fixed this issue. https://github.com/podarsmarty/cobertura-plugin

          Code changed in jenkins
          User: Po-Dar Wang
          Path:
          src/main/java/hudson/plugins/cobertura/CoberturaPublisher.java
          src/main/java/hudson/plugins/cobertura/CoberturaPublisherTarget.java
          src/main/java/hudson/plugins/cobertura/targets/CoverageTarget.java
          http://jenkins-ci.org/commit/cobertura-plugin/9f3026f2513d38ee89945e96b66d1e6dbe26ac9c
          Log:
          re-implemented decimal support so that plugin maintains backwards
          compatibility. Also added improvement so that percentages cannot be >
          100% or < 0%.

          Fixed bug JENKINS-14658 and made improvement JENKINS-14659.

          Signed-off-by: Po-Dar Wang <po-dar.wang@orbitz.com>

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Po-Dar Wang Path: src/main/java/hudson/plugins/cobertura/CoberturaPublisher.java src/main/java/hudson/plugins/cobertura/CoberturaPublisherTarget.java src/main/java/hudson/plugins/cobertura/targets/CoverageTarget.java http://jenkins-ci.org/commit/cobertura-plugin/9f3026f2513d38ee89945e96b66d1e6dbe26ac9c Log: re-implemented decimal support so that plugin maintains backwards compatibility. Also added improvement so that percentages cannot be > 100% or < 0%. Fixed bug JENKINS-14658 and made improvement JENKINS-14659 . Signed-off-by: Po-Dar Wang <po-dar.wang@orbitz.com>

            pwang25 Podar Wang
            pwang25 Podar Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: