From 7670ff907d2b60ab5970ceacfa8ee928e959ea73 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Mon, 10 Jun 2013 22:12:03 +0200 Subject: [PATCH] Do not send nofications on dry run mode --- .../core/issue/notification/SendIssueNotificationsPostJob.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/issue/notification/SendIssueNotificationsPostJob.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/issue/notification/SendIssueNotificationsPostJob.java index a93f38fd783..73d41db228a 100644 --- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/issue/notification/SendIssueNotificationsPostJob.java +++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/issue/notification/SendIssueNotificationsPostJob.java @@ -27,11 +27,13 @@ import org.sonar.api.resources.Project; import org.sonar.api.rules.Rule; import org.sonar.api.rules.RuleFinder; import org.sonar.batch.issue.IssueCache; +import org.sonar.core.DryRunIncompatible; import org.sonar.core.issue.IssueNotifications; /** * @since 3.6 */ +@DryRunIncompatible public class SendIssueNotificationsPostJob implements PostJob { private final IssueCache issueCache; -- 2.39.5