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

Metric label is missing in alert messages

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0
    • Component/s: Quality Gate
    • Labels:
      None

      Description

      Example of build breaker report when a threshold on a Fortify metric is defined (see "null > 0"):

      11:05:08 [ERROR] [11:05:08.972] [BUILD BREAKER] Unit tests success (%) < 100
      11:05:08 [ERROR] [11:05:08.972] [BUILD BREAKER] Coverage < 80
      11:05:08 [ERROR] [11:05:08.972] [BUILD BREAKER] null > 0
      11:05:09 [INFO] ------------------------------------------------------------------------
      11:05:09 [ERROR] BUILD ERROR
      11:05:09 [INFO] ------------------------------------------------------------------------
      

      The pb is that the Fortify plugin does not define the metric labels in its l10n bundle.
      Alert messages should support metrics without l10n label.

        Attachments

          Activity

            People

            Assignee:
            simon.brandhof Simon Brandhof (Inactive)
            Reporter:
            simon.brandhof Simon Brandhof (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: