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

Cobertura plugin ignores "Consider only stable builds" setting

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Component/s: cobertura-plugin
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      My expectation would be that:
      -when the "Consider only stable builds" checkbox is checked, Cobertura
      publishing would be skipped if the build had any status other than SUCCESS
      -when the "Consider only stable builds" checkbox is not checked, Cobertura
      publishing would be skipped if the build had any status other than SUCCESS or
      UNSTABLE
      -if the build was UNSTABLE when the Cobertura publisher was running, if there
      was a problem in the publishing, it would result in the build result being set
      to FAILURE

      What I'm currently seeing is that UNSTABLE builds are always skipped entirely,
      regardless of the setting of the "Consider only stable builds" checkbox.

      I'm planning on posting a candidate patch to address this defect shortly.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                davidmc24 davidmc24
                Reporter:
                davidmc24 davidmc24
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: