aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-scanner-engine
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2019-02-04 15:19:36 +0100
committerSonarTech <sonartech@sonarsource.com>2019-02-18 20:20:55 +0100
commitd72472646a0cd01f038d8c9b91a15c784e2ef182 (patch)
tree8d47bee11b609861dcd0fa9085fd80c2e93eeabd /sonar-scanner-engine
parent6846b584324f89ef566d0eda1a009884dd6ff209 (diff)
downloadsonarqube-d72472646a0cd01f038d8c9b91a15c784e2ef182.tar.gz
sonarqube-d72472646a0cd01f038d8c9b91a15c784e2ef182.zip
SONAR-11677 Use main branch as reference when analyzing a PR and base branch is not analyzed
Diffstat (limited to 'sonar-scanner-engine')
-rw-r--r--sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/branch/BranchConfiguration.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/branch/BranchConfiguration.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/branch/BranchConfiguration.java
index 7377fcc6f3b..87dedb54d11 100644
--- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/branch/BranchConfiguration.java
+++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/branch/BranchConfiguration.java
@@ -55,7 +55,7 @@ public interface BranchConfiguration {
* For short living branches, we look at sonar.branch.target (default to default branch). If it exists but is a short living branch or PR, we will
* transitively use its own target.
* For PR, we look at sonar.pullrequest.base (default to default branch). If it exists but is a short living branch or PR, we will
- * transitively use its own target.
+ * transitively use its own target. If base is not analyzed, we will use default branch.
* Only @null if the branch feature is not available.
*/
@CheckForNull