Fix Hipchat notification

This commit is contained in:
Eelco Dolstra 2013-07-12 15:02:05 +02:00
parent 7a0f80f016
commit d071bbfb28

View file

@ -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}, {