diff options
author | Michal Duda <michal.duda@sonarsource.com> | 2021-01-27 18:05:47 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2021-02-08 20:07:45 +0000 |
commit | ce56313561f86d0c15ca6efd0fdf70971bbdba62 (patch) | |
tree | 48593a1c1dd67e77f245c55bc5e50a5c0d768db9 /sonar-scanner-engine | |
parent | 8b5ec8c3375adfa1a5e2e9ffa134c4f153614147 (diff) | |
download | sonarqube-ce56313561f86d0c15ca6efd0fdf70971bbdba62.tar.gz sonarqube-ce56313561f86d0c15ca6efd0fdf70971bbdba62.zip |
SONAR-14396 Decorate PRs in Bitbucket Cloud
Diffstat (limited to 'sonar-scanner-engine')
-rw-r--r-- | sonar-scanner-engine/src/main/java/org/sonar/scanner/platform/DefaultServer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/platform/DefaultServer.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/platform/DefaultServer.java index 8be289a699b..77e294a2ff5 100644 --- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/platform/DefaultServer.java +++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/platform/DefaultServer.java @@ -73,7 +73,7 @@ public class DefaultServer extends Server { public String getPublicRootUrl() { String baseUrl = trimToEmpty(settings.get(CoreProperties.SERVER_BASE_URL).orElse("")); if (baseUrl.isEmpty()) { - // If server base URL was not configured in Sonar server then is is better to take URL configured on batch side + // If server base URL was not configured in Sonar server then it is better to take URL configured on batch side baseUrl = client.baseUrl(); } return StringUtils.removeEnd(baseUrl, "/"); |