* Store info about all the build actions and allow them to be

monitored while the build is in progress.
This commit is contained in:
Eelco Dolstra
2008-11-11 17:49:50 +00:00
parent 632bb24687
commit ee13f3cc0d
19 changed files with 214 additions and 32 deletions
-1
View File
@@ -16,7 +16,6 @@ $db->txn_do(sub {
my @jobs = $db->resultset('Builds')->search(
{finished => 0, busy => 1}, {join => 'schedulingInfo'});
foreach my $job (@jobs) {
print $job, "\n";
my $pid = $job->schedulingInfo->locker;
if (kill(0, $pid) != 1) { # see if we can signal the process
print "job ", $job->id, " pid $pid died, unlocking\n";