[% 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
[% name %] [% 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 renderFullJobNameOfBuild build=step.build %] [% step.system %] [% step.build.id %] [% step.stepnr %] [% step.drvpath.match('-(.*)').0 %] [% INCLUDE renderDuration duration = curTime - step.starttime %]
Idle
[% END %]