HipChat notification: add support for Mercurial inputs for determining who might have broken the build.

This commit is contained in:
Rob Vermaas
2013-08-07 08:53:32 +00:00
parent 96e987bbfa
commit 90eedcf256
2 changed files with 45 additions and 5 deletions

View File

@@ -45,7 +45,7 @@ sub buildFinished {
if ($prevBuild) {
foreach my $curInput ($build->buildinputs_builds) {
next unless $curInput->type eq "git";
next unless ($curInput->type eq "git" || $curInput->type eq "hg");
my $prevInput = $prevBuild->buildinputs_builds->find({ name => $curInput->name });
next unless defined $prevInput;