forked from lix-project/hydra
Allow notify option to be set for hipchat notification. (https://www.hipchat.com/docs/api/method/rooms/message)
This commit is contained in:
parent
421950aede
commit
f409d2b4f6
|
@ -73,7 +73,7 @@ sub buildFinished {
|
||||||
from => 'Hydra',
|
from => 'Hydra',
|
||||||
message => $msg,
|
message => $msg,
|
||||||
message_format => 'html',
|
message_format => 'html',
|
||||||
notify => 0,
|
notify => $room->{room}->{notify} || 0,
|
||||||
color => $build->buildstatus == 0 ? 'green' : 'red' });
|
color => $build->buildstatus == 0 ? 'green' : 'red' });
|
||||||
|
|
||||||
print STDERR $resp->status_line, ": ", $resp->decoded_content,"\n" if !$resp->is_success;
|
print STDERR $resp->status_line, ": ", $resp->decoded_content,"\n" if !$resp->is_success;
|
||||||
|
|
Loading…
Reference in a new issue