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

Cobertura plugin ignores "Consider only stable builds" setting

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • 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

            davidmc24 davidmc24 created issue -
            mindless Alan Harder made changes -
            Field Original Value New Value
            Link This issue is duplicated by JENKINS-3155 [ JENKINS-3155 ]
            mindless Alan Harder made changes -
            Link This issue is duplicated by JENKINS-3443 [ JENKINS-3443 ]
            scm_issue_link SCM/JIRA link daemon made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            davidmc24 davidmc24 made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 133548 ] JNJira + In-Review [ 202242 ]

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: