diff --git a/src/main/java/jenkins/plugins/hipchat/ActiveNotifier.java b/src/main/java/jenkins/plugins/hipchat/ActiveNotifier.java
index 6576ec3..587ef98 100644
--- a/src/main/java/jenkins/plugins/hipchat/ActiveNotifier.java
+++ b/src/main/java/jenkins/plugins/hipchat/ActiveNotifier.java
@@ -70,6 +70,10 @@ public void completed(AbstractBuild r) {
|| (result == Result.UNSTABLE && jobProperty.getNotifyUnstable())) {
getHipChat(r).publish(getBuildStatusMessage(r), getBuildColor(r));
}
+
+ if ((result == Result.FAILURE || result == Result.UNSTABLE) && jobProperty.getMentionAll()) {
+ getHipChat(r).publish("@all " + r.getProject().getDisplayName() + " failed. Fix it ASAP!!! Stop pushing until it comes back to normal!!!.", "red", "text");
+ }
}
String getChanges(AbstractBuild r) {
diff --git a/src/main/java/jenkins/plugins/hipchat/HipChatNotifier.java b/src/main/java/jenkins/plugins/hipchat/HipChatNotifier.java
index d0d406d..cf8cc85 100644
--- a/src/main/java/jenkins/plugins/hipchat/HipChatNotifier.java
+++ b/src/main/java/jenkins/plugins/hipchat/HipChatNotifier.java
@@ -144,6 +144,7 @@ public static class HipChatJobProperty extends hudson.model.JobProperty
+
+
+
+