This commit is contained in:
Eelco Dolstra 2009-03-05 12:32:14 +00:00
parent 7f4762db82
commit f6fd756134

View file

@ -442,6 +442,16 @@ sub checkJobs {
}
# For testing: evaluate a single jobset, then exit.
if (scalar @ARGV == 2) {
my $projectName = $ARGV[0];
my $jobsetName = $ARGV[1];
my $jobset = $db->resultset('Jobsets')->find($projectName, $jobsetName) or die;
checkJobSet($jobset->project, $jobset);
exit 0;
}
while (1) {
checkJobs;
print "sleeping...\n";