]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-12693 fix wording in scanner success message log
authormatteo-mara-sonarsource <98599122+matteo-mara-sonarsource@users.noreply.github.com>
Mon, 14 Feb 2022 15:44:08 +0000 (16:44 +0100)
committersonartech <sonartech@sonarsource.com>
Mon, 14 Feb 2022 20:02:44 +0000 (20:02 +0000)
sonar-scanner-engine/src/main/java/org/sonar/scanner/report/ReportPublisher.java
sonar-scanner-engine/src/test/java/org/sonar/scanner/report/ReportPublisherTest.java

index abf89bae8e5d127ea65a1ae7f25112b5d03efbb8..432cf165f420b7842dfcb64b5cdd531d8f48a5f8 100644 (file)
@@ -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());
     }
index d2db79abfa79f4fabfe08b1715b39597442a55d0..e30e630a99c95d9fa32e9735dee9db82f59c1368 100644 (file)
@@ -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");
   }