forked from lix-project/hydra
machines: fixup refs
This commit is contained in:
parent
bdccad573c
commit
8a663f2cf8
|
@ -200,8 +200,10 @@ sub machines :Local Args(0) {
|
||||||
|
|
||||||
$c->stash->{machines} = $machines;
|
$c->stash->{machines} = $machines;
|
||||||
$c->stash->{steps} = dbh($c)->selectall_arrayref(
|
$c->stash->{steps} = dbh($c)->selectall_arrayref(
|
||||||
"select build, stepnr, s.system as system, s.drvpath as drvpath, machine, s.starttime as starttime, project, jobset, job, s.busy as busy " .
|
"select build, stepnr, s.system as system, s.drvpath as drvpath, machine, s.starttime as starttime, jobsets.project, jobsets.name, job, s.busy as busy " .
|
||||||
"from BuildSteps s join Builds b on s.build = b.id " .
|
"from BuildSteps s " .
|
||||||
|
"join Builds b on s.build = b.id " .
|
||||||
|
"join Jobsets jobsets on jobsets.id = b.jobset_id " .
|
||||||
"where busy != 0 order by machine, stepnr",
|
"where busy != 0 order by machine, stepnr",
|
||||||
{ Slice => {} });
|
{ Slice => {} });
|
||||||
$c->stash->{template} = 'machine-status.tt';
|
$c->stash->{template} = 'machine-status.tt';
|
||||||
|
|
Loading…
Reference in a new issue