From f409d2b4f6789caeb58a0603699e48f603413e04 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 28 Feb 2014 09:27:33 +0000 Subject: [PATCH] Allow notify option to be set for hipchat notification. (https://www.hipchat.com/docs/api/method/rooms/message) --- src/lib/Hydra/Plugin/HipChatNotification.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Hydra/Plugin/HipChatNotification.pm b/src/lib/Hydra/Plugin/HipChatNotification.pm index 702d6bfb..cadb8902 100644 --- a/src/lib/Hydra/Plugin/HipChatNotification.pm +++ b/src/lib/Hydra/Plugin/HipChatNotification.pm @@ -73,7 +73,7 @@ sub buildFinished { from => 'Hydra', message => $msg, message_format => 'html', - notify => 0, + notify => $room->{room}->{notify} || 0, color => $build->buildstatus == 0 ? 'green' : 'red' }); print STDERR $resp->status_line, ": ", $resp->decoded_content,"\n" if !$resp->is_success;