[% WRAPPER layout.tt title="Machine status" %] [% PROCESS common.tt %] [% FOREACH m IN machines %] [% idle = 1 %] [% FOREACH step IN steps %] [% IF step.machine.match('@(.*)').0 == m.key %] [% idle = 0 %] [% END %] [% END %] [% IF idle == 1 %] [% IF m.value.idle %] [% ELSE %] [% END %] [% END %] [% END %]
[% IF m.value.maxJobs > 0 %] Running [% ELSE %] Stopped [% END %] [% m.key %] ([% comma=0; FOREACH system IN m.value.systemTypes %][% IF comma; %], [% ELSE; comma = 1; END; system; END %])
[% INCLUDE renderFullJobName project = step.build.project.name jobset = step.build.jobset.name job = step.build.job.name %] [% step.system %] [% step.build.id %] [% step.drvpath.match('-(.*)').0 %] [% INCLUDE renderDuration duration = curTime - step.starttime %]
Idle since [% INCLUDE renderDuration duration = curTime - m.value.idle %]
Never built
[% END %]