aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core/src/main
diff options
context:
space:
mode:
authorJanos Gyerik <janos.gyerik@sonarsource.com>2017-08-03 17:27:33 +0200
committerJanos Gyerik <janos.gyerik@sonarsource.com>2017-09-12 10:59:55 +0200
commitd6e6f92aefc44df2dd0af10ff3abda6aabb10b39 (patch)
treed58eb49a31782962fab9ef8b9d477e212fd7863d /sonar-core/src/main
parent47ef3bd0dc6610d0034f1753e06e8ac467eb906b (diff)
downloadsonarqube-d6e6f92aefc44df2dd0af10ff3abda6aabb10b39.tar.gz
sonarqube-d6e6f92aefc44df2dd0af10ff3abda6aabb10b39.zip
SONAR-9616 Handle branch in scanner
Diffstat (limited to 'sonar-core/src/main')
-rw-r--r--sonar-core/src/main/java/org/sonar/core/config/ScannerProperties.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/config/ScannerProperties.java b/sonar-core/src/main/java/org/sonar/core/config/ScannerProperties.java
index e7abb6654c0..6faa75cc87a 100644
--- a/sonar-core/src/main/java/org/sonar/core/config/ScannerProperties.java
+++ b/sonar-core/src/main/java/org/sonar/core/config/ScannerProperties.java
@@ -31,6 +31,7 @@ import static org.sonar.api.PropertyType.BOOLEAN;
public class ScannerProperties {
public static final String BRANCH_NAME = "sonar.branch.name";
+ public static final String BRANCH_TARGET = "sonar.branch.target";
public static final String ORGANIZATION = "sonar.organization";
private ScannerProperties() {
@@ -67,7 +68,12 @@ public class ScannerProperties {
.hidden()
.build(),
PropertyDefinition.builder(BRANCH_NAME)
- .name("Optional name of SCM branch")
+ .name("Optional name of SonarQube/SCM branch")
+ .description("TODO")
+ .hidden()
+ .build(),
+ PropertyDefinition.builder(BRANCH_TARGET)
+ .name("Optional name of target branch to merge into, and the base to determine changed files")
.description("TODO")
.hidden()
.build()