[% WRAPPER layout.tt title="Jobset ‘$project.name:$jobset.name’ Evaluations" %] [% PROCESS common.tt %]

Evaluations of Jobset [% INCLUDE renderLink uri = c.uri_for(c.controller('Project').action_for('view'), [project.name]) title = project.name %]:[% jobset.name %]

[% nrShown = evals.size > resultsPerPage ? resultsPerPage : evals.size %]

Showing evaluations [% (page - 1) * resultsPerPage + 1 %] - [% (page - 1) * resultsPerPage + nrShown %] out of [% total %].

[% INCLUDE renderPager %] [% last = nrShown - 1; FOREACH n IN [0..last]; eval = evals.$n; m = n + 1; next = evals.$m; %] [% END %]
# Date Success
[% eval.id %]  [% INCLUDE renderDateTime timestamp = eval.timestamp %]  [% eval.get_column('nrSucceeded') %] [% eval.get_column('nrBuilds') - eval.get_column('nrSucceeded') - eval.get_column('nrScheduled') %] [% IF eval.get_column('nrScheduled') > 0 %] [% eval.get_column('nrScheduled') %] [% END %] [% diff = eval.get_column('nrSucceeded') - next.get_column('nrSucceeded'); IF diff > 0 %] +[% diff %] [% ELSIF diff < 0 && eval.get_column('nrScheduled') == 0 %] [% diff %] [% END %]
[% INCLUDE renderPager %] [% END %]