aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatteo-mara-sonarsource <98599122+matteo-mara-sonarsource@users.noreply.github.com>2022-02-14 16:44:08 +0100
committersonartech <sonartech@sonarsource.com>2022-02-14 20:02:44 +0000
commit2c055ed41035e4b42733c2cdb6f66c84ff74409b (patch)
tree24b604cb0913e40e877c081a14bcb65356d3855f
parente357e5dc3d8c33cc4ec6cae48331db545eb540f0 (diff)
downloadsonarqube-2c055ed41035e4b42733c2cdb6f66c84ff74409b.tar.gz
sonarqube-2c055ed41035e4b42733c2cdb6f66c84ff74409b.zip
SONAR-12693 fix wording in scanner success message log
-rw-r--r--sonar-scanner-engine/src/main/java/org/sonar/scanner/report/ReportPublisher.java2
-rw-r--r--sonar-scanner-engine/src/test/java/org/sonar/scanner/report/ReportPublisherTest.java4
2 files changed, 2 insertions, 4 deletions
diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/report/ReportPublisher.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/report/ReportPublisher.java
index abf89bae8e5..432cf165f42 100644
--- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/report/ReportPublisher.java
+++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/report/ReportPublisher.java
@@ -150,7 +150,7 @@ public class ReportPublisher implements Startable {
if (analysisMode.isMediumTest()) {
LOG.info("ANALYSIS SUCCESSFUL");
} else if (!properties.shouldWaitForQualityGate()) {
- LOG.info("ANALYSIS SUCCESSFUL, you can browse {}", ceTaskReportDataHolder.getDashboardUrl());
+ LOG.info("ANALYSIS SUCCESSFUL, you can find the results at: {}", ceTaskReportDataHolder.getDashboardUrl());
LOG.info("Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report");
LOG.info("More about the report processing at {}", ceTaskReportDataHolder.getCeTaskUrl());
}
diff --git a/sonar-scanner-engine/src/test/java/org/sonar/scanner/report/ReportPublisherTest.java b/sonar-scanner-engine/src/test/java/org/sonar/scanner/report/ReportPublisherTest.java
index d2db79abfa7..e30e630a99c 100644
--- a/sonar-scanner-engine/src/test/java/org/sonar/scanner/report/ReportPublisherTest.java
+++ b/sonar-scanner-engine/src/test/java/org/sonar/scanner/report/ReportPublisherTest.java
@@ -23,9 +23,7 @@ import java.io.IOException;
import java.io.PipedInputStream;
import java.io.PipedOutputStream;
import java.nio.charset.StandardCharsets;
-import java.nio.file.Files;
import java.nio.file.Path;
-
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
@@ -235,7 +233,7 @@ public class ReportPublisherTest {
assertThat(logTester.logs(LoggerLevel.DEBUG))
.contains("Report metadata written to " + properties.metadataFilePath());
assertThat(logTester.logs(LoggerLevel.INFO))
- .contains("ANALYSIS SUCCESSFUL, you can browse https://publicserver/sonarqube/dashboard?id=org.sonarsource.sonarqube%3Asonarqube")
+ .contains("ANALYSIS SUCCESSFUL, you can find the results at: https://publicserver/sonarqube/dashboard?id=org.sonarsource.sonarqube%3Asonarqube")
.contains("More about the report processing at https://publicserver/sonarqube/api/ce/task?id=TASK-123");
}