aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sonar-email-notifications-plugin
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2013-05-28 15:25:35 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2013-05-28 16:00:13 +0200
commit84f8dcc043c572db2b8a967a2d54998302421867 (patch)
treee16eb4edd732ca394f469e8cab86955ec4caabf6 /plugins/sonar-email-notifications-plugin
parent51975eb4b10e18d7ba00167f7e8a32999facb282 (diff)
downloadsonarqube-84f8dcc043c572db2b8a967a2d54998302421867.tar.gz
sonarqube-84f8dcc043c572db2b8a967a2d54998302421867.zip
Rename to SonarQube in notification emails
Diffstat (limited to 'plugins/sonar-email-notifications-plugin')
-rw-r--r--plugins/sonar-email-notifications-plugin/src/main/java/org/sonar/plugins/emailnotifications/templates/alerts/AlertsEmailTemplate.java2
-rw-r--r--plugins/sonar-email-notifications-plugin/src/test/java/org/sonar/plugins/emailnotifications/templates/alerts/AlertsEmailTemplateTest.java8
2 files changed, 5 insertions, 5 deletions
diff --git a/plugins/sonar-email-notifications-plugin/src/main/java/org/sonar/plugins/emailnotifications/templates/alerts/AlertsEmailTemplate.java b/plugins/sonar-email-notifications-plugin/src/main/java/org/sonar/plugins/emailnotifications/templates/alerts/AlertsEmailTemplate.java
index 513b96fe3ba..a2279baebe6 100644
--- a/plugins/sonar-email-notifications-plugin/src/main/java/org/sonar/plugins/emailnotifications/templates/alerts/AlertsEmailTemplate.java
+++ b/plugins/sonar-email-notifications-plugin/src/main/java/org/sonar/plugins/emailnotifications/templates/alerts/AlertsEmailTemplate.java
@@ -99,7 +99,7 @@ public class AlertsEmailTemplate extends EmailTemplate {
}
}
- messageBody.append("\n").append("See it in Sonar: ").append(configuration.getServerBaseURL()).append("/dashboard/index/").append(projectKey);
+ messageBody.append("\n").append("See it in SonarQube: ").append(configuration.getServerBaseURL()).append("/dashboard/index/").append(projectKey);
return messageBody.toString();
}
diff --git a/plugins/sonar-email-notifications-plugin/src/test/java/org/sonar/plugins/emailnotifications/templates/alerts/AlertsEmailTemplateTest.java b/plugins/sonar-email-notifications-plugin/src/test/java/org/sonar/plugins/emailnotifications/templates/alerts/AlertsEmailTemplateTest.java
index dfa07194398..a0e07269a32 100644
--- a/plugins/sonar-email-notifications-plugin/src/test/java/org/sonar/plugins/emailnotifications/templates/alerts/AlertsEmailTemplateTest.java
+++ b/plugins/sonar-email-notifications-plugin/src/test/java/org/sonar/plugins/emailnotifications/templates/alerts/AlertsEmailTemplateTest.java
@@ -66,7 +66,7 @@ public class AlertsEmailTemplateTest {
" - violations > 4\n" +
" - coverage < 75%\n" +
"\n" +
- "See it in Sonar: http://nemo.sonarsource.org/dashboard/index/org.sonar.foo:foo"));
+ "See it in SonarQube: http://nemo.sonarsource.org/dashboard/index/org.sonar.foo:foo"));
}
@Test
@@ -84,7 +84,7 @@ public class AlertsEmailTemplateTest {
" - violations > 4\n" +
" - coverage < 75%\n" +
"\n" +
- "See it in Sonar: http://nemo.sonarsource.org/dashboard/index/org.sonar.foo:foo"));
+ "See it in SonarQube: http://nemo.sonarsource.org/dashboard/index/org.sonar.foo:foo"));
}
@Test
@@ -100,7 +100,7 @@ public class AlertsEmailTemplateTest {
"\n" +
"New alert: violations > 4\n" +
"\n" +
- "See it in Sonar: http://nemo.sonarsource.org/dashboard/index/org.sonar.foo:foo"));
+ "See it in SonarQube: http://nemo.sonarsource.org/dashboard/index/org.sonar.foo:foo"));
}
@Test
@@ -115,7 +115,7 @@ public class AlertsEmailTemplateTest {
"Alert level: Green (was Red)\n" +
"\n" +
"\n" +
- "See it in Sonar: http://nemo.sonarsource.org/dashboard/index/org.sonar.foo:foo"));
+ "See it in SonarQube: http://nemo.sonarsource.org/dashboard/index/org.sonar.foo:foo"));
}
private Notification createNotification(String alertName, String alertText, String alertLevel, String isNewAlert) {