aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core
diff options
context:
space:
mode:
authorFabrice Bellingard <fabrice.bellingard@sonarsource.com>2015-08-06 17:10:19 +0200
committerFabrice Bellingard <fabrice.bellingard@sonarsource.com>2015-08-06 17:10:19 +0200
commit0252beb263f31bd7e1ab4b7b1859d30542dc56bf (patch)
tree173280c533e3460002355d9254c7257d83c4182d /sonar-core
parentd2599d66acb0df2b9a9be95dfbd09e396f54310b (diff)
downloadsonarqube-0252beb263f31bd7e1ab4b7b1859d30542dc56bf.tar.gz
sonarqube-0252beb263f31bd7e1ab4b7b1859d30542dc56bf.zip
SONAR-6778 Document that global differential periods (1, 2 and 3) support a hard-coded version
Diffstat (limited to 'sonar-core')
-rw-r--r--sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java5
1 files changed, 3 insertions, 2 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 fd8d25fe29a..81a71dc3f3c 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
@@ -217,7 +217,8 @@ public class CorePropertyDefinitions {
.name("Period 1")
.description("Period used to compare measures and track new issues. Values are : <ul class='bullet'><li>Number of days before " +
"analysis, for example 5.</li><li>A custom date. Format is yyyy-MM-dd, for example 2010-12-25</li><li>'previous_analysis' to " +
- "compare to previous analysis</li><li>'previous_version' to compare to the previous version in the project history</li></ul>" +
+ "compare to previous analysis</li><li>'previous_version' to compare to the previous version in the project history</li>" +
+ "<li>A version, for example '1.2' or 'BASELINE'</li></ul>" +
"<p>When specifying a number of days or a date, the snapshot selected for comparison is " +
" the first one available inside the corresponding time range. </p>" +
"<p>Changing this property only takes effect after subsequent project inspections.<p/>")
@@ -247,7 +248,7 @@ public class CorePropertyDefinitions {
.description("Period used to compare measures and track new issues. This property is specific to the project. Values are : " +
"<ul class='bullet'><li>Number of days before analysis, for example 5.</li><li>A custom date. Format is yyyy-MM-dd, " +
"for example 2010-12-25</li><li>'previous_analysis' to compare to previous analysis</li>" +
- "<li>'previous_version' to compare to the previous version in the project history</li><li>A version, for example 1.2</li></ul>" +
+ "<li>'previous_version' to compare to the previous version in the project history</li><li>A version, for example '1.2' or 'BASELINE'</li></ul>" +
"<p>When specifying a number of days or a date, the snapshot selected for comparison is the first one available inside the corresponding time range. </p>" +
"<p>Changing this property only takes effect after subsequent project inspections.<p/>")
.defaultValue(CoreProperties.TIMEMACHINE_DEFAULT_PERIOD_4)