summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2013-06-10 22:12:03 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2013-06-10 22:13:54 +0200
commit39dd68b5054ef5e3c136efad0ad4c98d263a498a (patch)
tree7da53032a9ecaf0faddd5f582fa0342d3fc6befa
parented5105e4294e2e3a2887e9d09c0384fbadb57a35 (diff)
downloadsonarqube-39dd68b5054ef5e3c136efad0ad4c98d263a498a.tar.gz
sonarqube-39dd68b5054ef5e3c136efad0ad4c98d263a498a.zip
Do not send nofications on dry run mode
-rw-r--r--plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/issue/notification/SendIssueNotificationsPostJob.java2
1 files changed, 2 insertions, 0 deletions
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;