From: Simon Brandhof Date: Mon, 10 Jun 2013 20:12:03 +0000 (+0200) Subject: Do not send nofications on dry run mode X-Git-Tag: 3.7~511 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=39dd68b5054ef5e3c136efad0ad4c98d263a498a;p=sonarqube.git Do not send nofications on dry run mode --- 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;