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

Allow running of findbugs report on failed builds

    XMLWordPrintable

Details

    Description

      Our build process (using ant) is setup to fail if findbugs finds any bugs. The findbugs xml report is still generated though.

      From the findbugs hudson plugin help: "This plug-in is not invoked for failed builds, it is only called for stable or unstable builds (i.e., a build with failed tests)."

      Since the findbugs hudson plugin does not run on failed builds, it is not easy to view what failed in a findbugs report.

      Please add the option to run the findbugs hudson plugin even for failed builds.

      Attachments

        Activity

          philsttr philsttr created issue -
          philsttr philsttr made changes -
          Field Original Value New Value
          Description Our build fails if findbugs finds any bugs.

          From the findbugs hudson plugin help: "This plug-in is not invoked for failed builds, it is only called for stable or unstable builds (i.e., a build with failed tests)."

          Since the findbugs hudson plugin does not run on failed builds, it is not easy to view what failed in a findbugs report.


          Please add the option to run the findbugs hudson plugin even for failed builds.



          Our build process (using ant) is setup to fail if findbugs finds any bugs. The findbugs xml report is still generated though.

          From the findbugs hudson plugin help: "This plug-in is not invoked for failed builds, it is only called for stable or unstable builds (i.e., a build with failed tests)."

          Since the findbugs hudson plugin does not run on failed builds, it is not easy to view what failed in a findbugs report.


          Please add the option to run the findbugs hudson plugin even for failed builds.



          drulli Ulli Hafner added a comment -

          Hmm, why don't you fail the build by using the findbugs plug-in rather than directly in ant? This is the natural way in Hudson for all static analysis tools...

          drulli Ulli Hafner added a comment - Hmm, why don't you fail the build by using the findbugs plug-in rather than directly in ant? This is the natural way in Hudson for all static analysis tools...
          philsttr philsttr added a comment -

          We want the ant build to fail when developers run it (outside of hudson) as well.

          philsttr philsttr added a comment - We want the ant build to fail when developers run it (outside of hudson) as well.
          drulli Ulli Hafner made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          abayer Andrew Bayer made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 136210 ] JNJira + In-Review [ 203907 ]

          People

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

            Dates

              Created:
              Updated:
              Resolved: