diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2019-02-04 15:19:36 +0100 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2019-02-18 20:20:55 +0100 |
commit | d72472646a0cd01f038d8c9b91a15c784e2ef182 (patch) | |
tree | 8d47bee11b609861dcd0fa9085fd80c2e93eeabd /sonar-scanner-engine | |
parent | 6846b584324f89ef566d0eda1a009884dd6ff209 (diff) | |
download | sonarqube-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.java | 2 |
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 |