diff options
author | Janos Gyerik <janos.gyerik@sonarsource.com> | 2019-01-16 20:01:44 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2019-02-11 09:11:49 +0100 |
commit | cd8bcac346d6356eb2e90cf9ef79054ab374d1d7 (patch) | |
tree | 4cfa030d57bb6e843399a49232ee0b60ea82fd63 /sonar-core | |
parent | d225d0c37f88abb67eed6b48b3fca523ab846ee2 (diff) | |
download | sonarqube-cd8bcac346d6356eb2e90cf9ef79054ab374d1d7.tar.gz sonarqube-cd8bcac346d6356eb2e90cf9ef79054ab374d1d7.zip |
SONAR-11653 Use the manual baseline in analysis when defined
and populates the period fields of the analysis when baseline is manual
Diffstat (limited to 'sonar-core')
-rw-r--r-- | sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java | 1 | ||||
-rw-r--r-- | sonar-core/src/main/resources/org/sonar/l10n/core.properties | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java b/sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java index f7ad5bf7ff3..59fa55f636c 100644 --- a/sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java +++ b/sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java @@ -37,6 +37,7 @@ public class CorePropertyDefinitions { public static final String LEAK_PERIOD_MODE_VERSION = "version"; public static final String LEAK_PERIOD_MODE_DAYS = "days"; public static final String LEAK_PERIOD_MODE_PREVIOUS_VERSION = "previous_version"; + public static final String LEAK_PERIOD_MODE_MANUAL_BASELINE = "manual_baseline"; public static final String SONAR_ANALYSIS = "sonar.analysis."; private static final String DEFAULT_LEAK_PERIOD = LEAK_PERIOD_MODE_PREVIOUS_VERSION; diff --git a/sonar-core/src/main/resources/org/sonar/l10n/core.properties b/sonar-core/src/main/resources/org/sonar/l10n/core.properties index 319653cdfaa..f11a0baa6a3 100644 --- a/sonar-core/src/main/resources/org/sonar/l10n/core.properties +++ b/sonar-core/src/main/resources/org/sonar/l10n/core.properties @@ -2459,7 +2459,7 @@ overview.period.previous_analysis=since previous analysis overview.period.days=last {0} days overview.period.version=since {0} overview.period.date=after {0} -overview.period.manual_baseline=after {0} +overview.period.manual_baseline=since {0} overview.gate.ERROR=Failed overview.gate.WARN=Warning |