[% WRAPPER layout.tt title="Machine status" %] [% PROCESS common.tt %] [% USE format %] [% FOREACH m IN machines %] [% name = m.key ? stripSSHUser(m.key) : "localhost" %] [% idle = 1 %] [% FOREACH step IN steps %] [% name2 = step.machine ? stripSSHUser(step.machine) : "localhost" %] [% IF name == name2 %] [% idle = 0 %] [% END %] [% END %] [% IF idle == 1 %] [% END %] [% END %]
Job System Build Step What Since
[% INCLUDE renderMachineName machine=m.key %] [% IF m.value.systemTypes %] ([% comma=0; FOREACH system IN m.value.systemTypes %][% IF comma; %], [% ELSE; comma = 1; END %][% system %][% END %]) [% END %] [% IF m.value.nrStepsDone %] ([% m.value.nrStepsDone %] steps done, [% f = format("%.1f"); f(m.value.avgStepBuildTime) %] s/step) [% END %]
[% INCLUDE renderFullJobName project=step.project jobset=step.jobset job=step.job %] [% step.system %] [% step.build %] [% IF step.busy >= 30 %][% step.stepnr %][% ELSE; step.stepnr; END %] [% step.drvpath.match('-(.*)').0 %] [% INCLUDE renderDuration duration = curTime - step.starttime %]
Idle
[% END %]