* Provide some redirects to the latest successful build for a job (or

project, or jobset, or globally, but that's not all that useful).
  This is useful if you want to link to the latest build.
This commit is contained in:
Eelco Dolstra
2009-04-07 15:49:02 +00:00
parent f2a42c0d81
commit f9572e4d1e
3 changed files with 45 additions and 0 deletions

View File

@ -23,6 +23,8 @@ sub overview : Chained('job') PathPart('') Args(0) {
$c->stash->{template} = 'job.tt';
getBuildStats($c, scalar $c->stash->{job}->builds);
$c->stash->{systems} = [$c->stash->{job}->builds->search({}, {select => ["system"], distinct => 1})];
}