]> source.dussan.org Git - sonarqube.git/commitdiff
Do not send nofications on dry run mode
authorSimon Brandhof <simon.brandhof@gmail.com>
Mon, 10 Jun 2013 20:12:03 +0000 (22:12 +0200)
committerSimon Brandhof <simon.brandhof@gmail.com>
Mon, 10 Jun 2013 20:13:54 +0000 (22:13 +0200)
plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/issue/notification/SendIssueNotificationsPostJob.java

index a93f38fd7833151cf2f1b5f933676f3234450436..73d41db228a6fe4dc269b65dc0edc9100e9e0b03 100644 (file)
@@ -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;