Fix tests

This commit is contained in:
Shea Levy
2017-05-24 10:00:38 -04:00
parent 582c399420
commit c40077ece1
2 changed files with 3 additions and 2 deletions

View File

@ -471,7 +471,8 @@ sub checkBuild {
print STDERR "added build ${\$build->id} (${\$jobset->project->name}:${\$jobset->name}:$jobName)\n";
});
system("hydra-notify build-queued " . $build->id) if defined $buildMap->{$build->id} && $buildMap->{$build->id}->{new};
system("hydra-notify build-queued " . $build->id)
if defined $build && defined $buildMap->{$build->id} && $buildMap->{$build->id}->{new};
return $build;
};