Skip to content

Commit

Permalink
* Doh.
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Mar 18, 2009
1 parent 702da96 commit b39e2c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/script/hydra_scheduler.pl
Expand Up @@ -156,7 +156,7 @@ sub fetchInputAlt {
# Pick the most recent successful build of the specified job.
(my $prevBuild) = $db->resultset('Builds')->search(
{finished => 1, project => $project->name, jobset => $jobset->name, job => $jobName, buildStatus => 0},
{join => 'resultInfo', order_by => "id DESC", rows => 1});
{join => 'resultInfo', order_by => "me.id DESC", rows => 1});

if (!defined $prevBuild || !isValidPath($prevBuild->outpath)) {
print STDERR "no previous build available for `$jobName'";
Expand Down

0 comments on commit b39e2c5

Please sign in to comment.