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

Hudson FindBugs plugin does not work with m2 jobs

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: findbugs-plugin
    • Labels:
      None
    • Environment:
      Platform: PC, OS: Windows NT
    • Similar Issues:

      Description

      The Hudson FindBugs plugin is listed under "Maven2 Project Type compatible"
      (http://hudson.gotdns.com/wiki/display/JENKINS/Plugins)

      But it seams that it works only for freestyle jobs and not maven2 jobs.

      Is this correct? Will this be changed in the near future?

        Attachments

        1. console.txt
          0.9 kB
        2. console-output-build6.txt
          7 kB
        3. screenshot-freestyle.JPG
          screenshot-freestyle.JPG
          160 kB
        4. screenshot-maven2.JPG
          screenshot-maven2.JPG
          132 kB
        5. screenshot-maven2-build6.JPG
          screenshot-maven2-build6.JPG
          118 kB

          Issue Links

            Activity

            Hide
            jergan jergan added a comment -

            And I have added the screenshot from the freestyle job (which I thought I had
            already attached).

            Show
            jergan jergan added a comment - And I have added the screenshot from the freestyle job (which I thought I had already attached).
            Hide
            drulli Ulli Hafner added a comment -

            Thanks for adding the new log file. Seems to be that the findbugs parser is
            correctly activated. It finds bugs in two modules. (Note that the XML file is
            the old one, but that should not be a problem.)

            The screenshots that are attached still show not the module detail. Could you
            please click on a build AND a sub-module (e.g., module 1). The aggregated
            overview is not yet implemented (this is more complicated than the freestyle
            case, this requires extra work, since we have hierarchies of modules. In the
            freestyle case I just concatenate the output of all files, in maven 2 modules I
            need to concatenate the modules)!

            Show
            drulli Ulli Hafner added a comment - Thanks for adding the new log file. Seems to be that the findbugs parser is correctly activated. It finds bugs in two modules. (Note that the XML file is the old one, but that should not be a problem.) The screenshots that are attached still show not the module detail. Could you please click on a build AND a sub-module (e.g., module 1). The aggregated overview is not yet implemented (this is more complicated than the freestyle case, this requires extra work, since we have hierarchies of modules. In the freestyle case I just concatenate the output of all files, in maven 2 modules I need to concatenate the modules)!
            Hide
            drulli Ulli Hafner added a comment -

            I added a new issue for the m2 aggregation:
            https://hudson.dev.java.net/issues/show_bug.cgi?id=1602

            Show
            drulli Ulli Hafner added a comment - I added a new issue for the m2 aggregation: https://hudson.dev.java.net/issues/show_bug.cgi?id=1602
            Hide
            drulli Ulli Hafner added a comment -

            Link to releated issue.

            Show
            drulli Ulli Hafner added a comment - Link to releated issue.
            Hide
            drulli Ulli Hafner added a comment -

            Fixed in HEAD. Will be released in 2.5.

            Show
            drulli Ulli Hafner added a comment - Fixed in HEAD. Will be released in 2.5.

              People

              • Assignee:
                drulli Ulli Hafner
                Reporter:
                jergan jergan
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: