aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2017-10-03 15:34:34 +0200
committerDuarte Meneses <duarte.meneses@sonarsource.com>2017-10-03 17:40:06 +0200
commitf40ca07f9be556783036e6afe56121d4385f2ad5 (patch)
tree6ddb3e7094c407347d51ba8a8d9012c94eaf2902 /sonar-core
parent3ee70a85b0289d1b2246572d32d9edf2d8dbfb54 (diff)
downloadsonarqube-f40ca07f9be556783036e6afe56121d4385f2ad5.tar.gz
sonarqube-f40ca07f9be556783036e6afe56121d4385f2ad5.zip
Fix branch properties description
Diffstat (limited to 'sonar-core')
-rw-r--r--sonar-core/src/main/java/org/sonar/core/config/ScannerProperties.java11
1 files changed, 6 insertions, 5 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 6faa75cc87a..b8e25cb324e 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
@@ -69,14 +69,15 @@ public class ScannerProperties {
.build(),
PropertyDefinition.builder(BRANCH_NAME)
.name("Optional name of SonarQube/SCM branch")
- .description("TODO")
+ .description("Provide a name for the branch being analyzed. It might match an existing branch of the project, otherwise a new branch will be created.")
.hidden()
.build(),
PropertyDefinition.builder(BRANCH_TARGET)
- .name("Optional name of target branch to merge into, and the base to determine changed files")
- .description("TODO")
+ .name("Optional name of target branch to merge into")
+ .description(
+ "Defines what is the target branch of the branch being analyzed. The main branch cannot have a target. "
+ + "If no target is defined for other branches, the main branch is used as a target.")
.hidden()
- .build()
- );
+ .build());
}
}