Skip to content

Commit

Permalink
[backend] Avoid failing job when Build.pm cannot be imported
Browse files Browse the repository at this point in the history
Thats most likely a host problem (cpio not working,
network conflicts), don't fail the job
  • Loading branch information
dirkmueller authored and adrianschroeter committed May 14, 2013
1 parent 10f68b0 commit c821d4f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/backend/bs_worker
Original file line number Diff line number Diff line change
Expand Up @@ -2716,6 +2716,8 @@ if ($@) {
}
print "$@";
$ex = 1;
# mark as bad build host if Build.pm could not be imported
$ex = 3 unless defined &Build::queryhdrmd5;
}
if ($buildinfo->{'followupfile'}) {
my $buildsrcdir = "$buildroot/.build.packages/SOURCES";
Expand Down

0 comments on commit c821d4f

Please sign in to comment.