show current builds on job page
This commit is contained in:
parent
67f468e0a3
commit
fe8a376864
|
@ -25,6 +25,8 @@ sub overview : Chained('job') PathPart('') Args(0) {
|
|||
|
||||
getBuildStats($c, scalar $c->stash->{job}->builds);
|
||||
|
||||
$c->stash->{currentBuilds} = [$c->stash->{job}->builds->search({iscurrent => 1}, { join => 'resultInfo', '+select' => ["resultInfo.releasename", "resultInfo.buildstatus"]
|
||||
, '+as' => ["releasename", "buildstatus"], order_by => 'system' })];
|
||||
$c->stash->{systems} = [$c->stash->{job}->builds->search({iscurrent => 1}, {select => ["system"], distinct => 1})];
|
||||
}
|
||||
|
||||
|
|
|
@ -9,6 +9,10 @@
|
|||
title = jobset.name %]:[% job.name %]</tt></h1>
|
||||
|
||||
|
||||
<h2>Status</h2>
|
||||
|
||||
[% INCLUDE renderBuildList builds=currentBuilds showStatusChange=0 %]
|
||||
|
||||
<h2>Channels</h2>
|
||||
|
||||
<p>This job provides the following Nix channels:</p>
|
||||
|
|
Loading…
Reference in a new issue