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

Findbugs new warnings based on last successful build when findbugs plugin is cause of unstable builds

    Details

    • Similar Issues:

      Description

      The following options are set:

      Status Threshold (Total), All priorities: 0
      Compute new warnings (based on reference build): true
      Use delta for new warnings: false
      Only use stable builds as reference: false

      Expected behavior:

      The number of new warnings is always calculated with the previous build as a reference.

      Observed behavior:

      The number of new warnings is calculated with the last stable build as a reference.

      We have other jobs without that threshold setting which correctly calculate the new warnings with the previous build as a reference independent of it's status.
      I suspect that the last stable build is selected as reference because of the threshold setting. If findbugs is the cause of an unstable build it seems to be rejected as a reference even though the "only use stable builds" option is not set.

        Attachments

          Issue Links

            Activity

            Hide
            drulli Ulli Hafner added a comment -

            The reference build is the last build (overall SUCCESS or UNSTABLE) with plug-in result SUCCESS. It is not possible to use an unstable plug-in result as a reference yet.

            Show
            drulli Ulli Hafner added a comment - The reference build is the last build (overall SUCCESS or UNSTABLE) with plug-in result SUCCESS. It is not possible to use an unstable plug-in result as a reference yet.

              People

              • Assignee:
                drulli Ulli Hafner
                Reporter:
                rbaradari Ramin Baradari
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: