]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-11747 Fix portfolio computation when some projects are in warning
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Wed, 6 Mar 2019 09:30:49 +0000 (10:30 +0100)
committerSonarTech <sonartech@sonarsource.com>
Fri, 8 Mar 2019 19:20:55 +0000 (20:20 +0100)
server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/measure/Measure.java

index d75d00ab4457edb580a47066689de5346aa1b7d2..327c1eb00f2cd5fab180183765bf1647b869a5da 100644 (file)
@@ -40,7 +40,13 @@ public final class Measure {
 
   public enum Level {
     OK("Green"),
-    ERROR("Red");
+    ERROR("Red"),
+
+    /**
+     * @deprecated since 7.6, warning quality gates doesn't exist anymore on new analysis
+     */
+    @Deprecated
+    WARN("Orange");
 
     private final String colorName;