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

Findbugs Dashboard shows wrong results

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • findbugs-plugin
    • None
    • Platform: PC, OS: Windows XP

      I encountered the following problem. Here The details: When i click into a build
      (example url: http://localhost:8080/job/MyProject/99/).
      I have an overview, over certain plugins. The way it supposed to work in my
      opinion is for example findbugs should show me how many
      warnings there is overall (which works). After that it should show me how many
      were fixed and how many new warnings occured. This both tasks seem
      not to work properly for me. On my overview i get something like this: FindBugs:
      10 warnings in 1 FindBugs file. * 10 new warnings * 10 fixed warnings. This
      would be correct if i really did fix 10 bugs and 10 new occured but thats not
      the case. I get this every build.
      Clicking on one of the links (* 10 new warnings or * 10 fixed warnings) results
      in a empty findbugs overview which is wrong as well.

      I have tested this with Findbugs 3.5 and hudson 1.290. My jobs are all freestyle
      jobs.

      I (think) i found a way howto reproduce this problem:

      1. Activate Findbugs and make a build. (from the beginning)
      2. Deactivate Findbugs and make a build.
      3. Activate it again and make a build.

      This is just a thought but in the beginning i installed finbugs but didn't used
      it because i did not configure it to work with maven. So when i actually added
      it i had several builds without using the findbugs plugin but had it installed.
      Maybe Findbugs confuses something if there is not a proper last build. This
      probably could happen with the other plugins too but i just opened a issue for
      findbugs.

        1. build.log
          0.4 kB
        2. findbugsXml.xml
          135 kB

            drulli Ulli Hafner
            kukudas kukudas
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: