aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJanos Gyerik <janos.gyerik@sonarsource.com>2019-01-16 08:20:23 +0100
committersonartech <sonartech@sonarsource.com>2019-02-11 09:11:46 +0100
commit96e54a89a4cfa87e304d0978d3a829b30deb99ed (patch)
tree17fe8cc20fd122f89456fbf488b460cdd2ca1442
parenta4974f2881948c9f398ae3fcac3198cbd923e061 (diff)
downloadsonarqube-96e54a89a4cfa87e304d0978d3a829b30deb99ed.tar.gz
sonarqube-96e54a89a4cfa87e304d0978d3a829b30deb99ed.zip
SONAR-11626 Add a note to New Code Period description about manual baseline
-rw-r--r--sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java1
1 files changed, 1 insertions, 0 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 6fce0a7d28e..f7ad5bf7ff3 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
@@ -164,6 +164,7 @@ public class CorePropertyDefinitions {
"<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>This property has no effect when a baseline is manually set on a long-living branch, such as the main branch.<p/>" +
"<p>Changing this property only takes effect after subsequent project inspections.<p/>")
.defaultValue(DEFAULT_LEAK_PERIOD)
.category(CoreProperties.CATEGORY_GENERAL)