Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-6336

Incorrect quality status when multiple conditions on same metric

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.5
    • Fix Version/s: 5.6
    • Component/s: Quality Gate, Web API
    • Labels:

      Description

      If several conditions are declared on the same metric (for example for multiple differential periods) then the last condition that will be evaluated will "win" and override status of the measure.
      The global status is not affected and is properly set but this can lead to strange behavior like global status is red but BuildBreaker plugin does not fail.

      Mailing list : http://sonarqube.15.x6.nabble.com/The-Build-Breaker-plugin-does-not-break-the-build-in-some-cases-td5033609.html

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              stas.vilchik Stas Vilchik (Inactive)
              Reporter:
              henryju OLD - Julien HENRY
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: