forked from lix-project/hydra
Fix Hipchat notification
This commit is contained in:
parent
7a0f80f016
commit
d071bbfb28
|
@ -58,7 +58,7 @@ sub buildFinished {
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach my $commit (@commits) {
|
foreach my $commit (@commits) {
|
||||||
print STDERR "$commit->{revision} by $commit->{author}\n";
|
#print STDERR "$commit->{revision} by $commit->{author}\n";
|
||||||
$authors{$commit->{author}} = $commit->{email};
|
$authors{$commit->{author}} = $commit->{email};
|
||||||
$nrCommits++;
|
$nrCommits++;
|
||||||
}
|
}
|
||||||
|
@ -92,7 +92,6 @@ sub buildFinished {
|
||||||
}
|
}
|
||||||
|
|
||||||
print STDERR "sending hipchat notification to room $roomId: $msg\n";
|
print STDERR "sending hipchat notification to room $roomId: $msg\n";
|
||||||
next;
|
|
||||||
|
|
||||||
my $ua = LWP::UserAgent->new();
|
my $ua = LWP::UserAgent->new();
|
||||||
my $resp = $ua->post('https://api.hipchat.com/v1/rooms/message?format=json&auth_token=' . $room->{room}->{token}, {
|
my $resp = $ua->post('https://api.hipchat.com/v1/rooms/message?format=json&auth_token=' . $room->{room}->{token}, {
|
||||||
|
|
Loading…
Reference in a new issue