diff options
author | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2014-10-24 10:55:13 +0200 |
---|---|---|
committer | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2014-10-24 10:55:13 +0200 |
commit | 7750547755c96d5b5c9a46babf28a1a67d9da702 (patch) | |
tree | 060b29955771f5169d42e0c46367e82d73423aa9 /sonar-batch | |
parent | 27181666ce43e0e54b178b731a3480e655ad87b4 (diff) | |
download | sonarqube-7750547755c96d5b5c9a46babf28a1a67d9da702.tar.gz sonarqube-7750547755c96d5b5c9a46babf28a1a67d9da702.zip |
SONAR-5695 - Compute Engine - update the analysis success message on batch side
Diffstat (limited to 'sonar-batch')
-rw-r--r-- | sonar-batch/src/main/java/org/sonar/batch/phases/UpdateStatusJob.java | 3 | ||||
-rw-r--r-- | sonar-batch/src/test/java/org/sonar/batch/phases/UpdateStatusJobTest.java | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/phases/UpdateStatusJob.java b/sonar-batch/src/main/java/org/sonar/batch/phases/UpdateStatusJob.java index 77021d7afa5..53d37065bdf 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/phases/UpdateStatusJob.java +++ b/sonar-batch/src/main/java/org/sonar/batch/phases/UpdateStatusJob.java @@ -92,7 +92,8 @@ public class UpdateStatusJob implements BatchComponent { baseUrl += "/"; } String url = baseUrl + "dashboard/index/" + project.getKey(); - logger.info("ANALYSIS SUCCESSFUL, you will be able to browse it at {}", url); + logger.info("ANALYSIS SUCCESSFUL, you can browse {}", url); + logger.info("Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report."); } } } diff --git a/sonar-batch/src/test/java/org/sonar/batch/phases/UpdateStatusJobTest.java b/sonar-batch/src/test/java/org/sonar/batch/phases/UpdateStatusJobTest.java index f8c0f29ba80..d39efd3b698 100644 --- a/sonar-batch/src/test/java/org/sonar/batch/phases/UpdateStatusJobTest.java +++ b/sonar-batch/src/test/java/org/sonar/batch/phases/UpdateStatusJobTest.java @@ -54,7 +54,8 @@ public class UpdateStatusJobTest extends AbstractDbUnitTestCase { Logger logger = mock(Logger.class); job.logSuccess(logger); - verify(logger).info("ANALYSIS SUCCESSFUL, you will be able to browse it at {}", "http://myserver/dashboard/index/struts"); + verify(logger).info("ANALYSIS SUCCESSFUL, you can browse {}", "http://myserver/dashboard/index/struts"); + verify(logger).info("Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report."); } @Test |