Skip to content

Commit

Permalink
[backend] write jobhist for finished delta jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
mlschroe committed Feb 8, 2012
1 parent f8c0d64 commit 5ca4b46
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/backend/bs_sched
Expand Up @@ -2661,6 +2661,8 @@ sub deltafinished {
my $dst = "$gdst/$packid";
mkdir_p($dst);
my $code = $js->{'result'} || 'failed';
my $status = {'readytime' => $info->{'readytime'} || $info->{'starttime'}};
addjobhist($prp, $info, $status, $js, $code);
if ($code ne 'succeeded') {
print " - $job: build failed\n";
unlink("$dst/logfile");
Expand Down

0 comments on commit 5ca4b46

Please sign in to comment.