• Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • warnings-ng-plugin
    • None
    • 3.0.0

       

      The reference build has 919 warnings and previously publishing pmd report has a feature called delta warnings. Is it possible to set new warnings to not exceed total warning count from reference build ? For example currently setting new warning threshold to "3" will fail for the screenshot above. What I'm looking for a feature for not increasing total warnings counts and getting threshold from reference build.

          [JENKINS-52098] Total warnings threshold from reference build

          mirza zeyrek created issue -
          Ulli Hafner made changes -
          Epic Link New: JENKINS-49911 [ 188901 ]
          Ulli Hafner made changes -
          Labels Original: analysis-core-3.0 jenkins plugin
          mirza zeyrek made changes -
          Description Original: !https://wiki.jenkins.io/download/attachments/133956397/Screenshot_6.png?version=1&modificationDate=1529516335000&api=v2!

           

          The reference build has 919 warnings and previously publishing pmd report has a feature called delta warnings. Is it possible to set new warnings to not exceed total warning count from reference build ? For example currently setting new warning threshold to "2" will fail for the screenshot above. What I'm looking for a feature for not increasing total warnings counts and getting threshold from reference build.
          New: !https://wiki.jenkins.io/download/attachments/133956397/Screenshot_6.png?version=1&modificationDate=1529516335000&api=v2!

           

          The reference build has 919 warnings and previously publishing pmd report has a feature called delta warnings. Is it possible to set new warnings to not exceed total warning count from reference build ? For example currently setting new warning threshold to "3" will fail for the screenshot above. What I'm looking for a feature for not increasing total warnings counts and getting threshold from reference build.
          Ulli Hafner made changes -
          Rank New: Ranked higher
          Ulli Hafner made changes -
          Rank New: Ranked higher
          Ulli Hafner made changes -
          Epic Link Original: JENKINS-49911 [ 188901 ]
          Ulli Hafner made changes -
          Component/s New: warnings-ng-plugin [ 24526 ]
          Component/s Original: analysis-core-plugin [ 15709 ]
          Component/s Original: warnings-plugin [ 15513 ]

          Arno Moonen added a comment - - edited

          This issue is preventing is from migrating to the Warnings NG plugin.

          Warnings move around as code is added and the parsers will pick it up as new warnings.
          For us it might be even better if it could check that the number of warnings per file are not increased (just thought of this while writing this comment).

          Arno Moonen added a comment - - edited This issue is preventing is from migrating to the Warnings NG plugin. Warnings move around as code is added and the parsers will pick it up as new warnings. For us it might be even better if it could check that the number of warnings per file are not increased (just thought of this while writing this comment).
          Ulli Hafner made changes -
          Rank New: Ranked higher

            drulli Ulli Hafner
            mirza_zeyrek mirza zeyrek
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: