• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • analysis-model
    • None
    • Jenkins 2.150.1
      warnings-ng-plugin 1.0.1
      Use rank as severity - unchecked
    • warnings-ng 2.0.0, analysis-model-api 2.0.0

      Recording FindBugs warnings with ng plugin fails to assign warning to correct priority, as in FindBugs plugin.

       

      Project being built has in total 12 warnings

      • findbugs warnings plugin report them as 1 high and 11 normal
      • warnings-ng-plugin report them as 12 low

       

          [JENKINS-55514] FindBugs analyzer reports incorrect priority

          Björn Magnusson created issue -
          Ulli Hafner made changes -
          Priority Original: Major [ 3 ] New: Minor [ 4 ]
          Ulli Hafner made changes -
          Component/s New: analysis-model [ 23523 ]
          Component/s Original: warnings-ng-plugin [ 24526 ]
          Ulli Hafner made changes -
          Labels Original: findbugs

          Ulli Hafner added a comment - - edited

          Can you check which of the warnings is wrong? For this warning I either need the findbugs XML results file or the original priority value of the report.

          Ulli Hafner added a comment - - edited Can you check which of the warnings is wrong? For this warning I either need the findbugs XML results file or the original priority value of the report.
          Björn Magnusson made changes -
          Attachment New: image-2019-01-11-12-31-11-056.png [ 45632 ]
          Björn Magnusson made changes -
          Attachment New: main.xml [ 45633 ]

          All warnings is wrong level. 

          Below is the result of old plugin, 11 as normal and 1 as high. In new plugin all was low.

          FindBugs xml report (main.xml) attached to issue

          Björn Magnusson added a comment - All warnings is wrong level.  Below is the result of old plugin, 11 as normal and 1 as high. In new plugin all was low. FindBugs xml report (main.xml) attached to issue
          Ulli Hafner made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Fixed but Unreleased [ 10203 ]
          Ulli Hafner made changes -
          Released As New: warnings-ng 2.0.0, analysis-model-api 2.0.0
          Status Original: Fixed but Unreleased [ 10203 ] New: Resolved [ 5 ]

            drulli Ulli Hafner
            bjornmagnusson Björn Magnusson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: