[% USE date %] [% USE HTML %] [% inputTypes = { "svn" = "Subversion checkout" , "cvs" = "CVS checkout" , "tarball" = "Download of a tarball" , "string" = "String value" , "boolean" = "Boolean" , "path" = "Local path" , "build" = "Build output" } %] [% BLOCK renderDateTime %] [% date.format(timestamp, '%Y-%m-%d %H:%M:%S') -%] [% END %] [% BLOCK renderProjectName -%] [% project %][% END -%] [% BLOCK renderJobsetName -%] [% jobset %][% END -%] [% BLOCK renderJobName -%] [% job %][% END -%] [% BLOCK renderFullJobsetName %] [% INCLUDE renderProjectName %]:[% INCLUDE renderJobsetName %] [% END %] [% BLOCK renderFullJobName %] [% INCLUDE renderProjectName %]:[% INCLUDE renderJobsetName %]:[% INCLUDE renderJobName %] [% END %] [% BLOCK renderFullJobNameOfBuild %] [% INCLUDE renderFullJobName project=build.get_column("project") jobset = build.get_column("jobset") job = build.get_column("job") %] [% END %] [% BLOCK renderDuration -%] [% IF duration >= 24 * 60 * 60 %][% duration div (24 * 60 * 60) %]d[% END %] [% IF duration >= 60 * 60 %][% duration div (60 * 60) % 24 %]h[% END %] [% IF duration >= 60 %][% duration div 60 % 60 %]m[% END %] [% duration % 60 %]s [% END %] [% BLOCK renderBuildList %] [% IF !hideResultInfo %] [% END %] [% IF showSchedulingInfo %] [% END %] [% IF showStatusChange %] [% END %] [% odd = 0 %] [% FOREACH build IN builds -%] [% IF !hideResultInfo %] [% END %] [% IF showSchedulingInfo %] [% END %] [% IF showStatusChange %] [% END %] [% END -%]
#PriorityJob Release Name System TimestampLast status changeDescription
[% IF build.get_column('buildstatus') == 0 %] Succeeded [% ELSE %] Failed [% END %] [% build.id %][% build.schedulingInfo.priority %] [% INCLUDE renderFullJobNameOfBuild %] [% !showSchedulingInfo and build.get_column('releasename') ? build.get_column('releasename') : build.nixname %] [% build.system %] [% date.format(build.timestamp, '%Y-%m-%d %H:%M:%S') %] [% IF build.get_column('statusChangeTime') %] [% date.format(build.get_column('statusChangeTime'), '%Y-%m-%d %H:%M:%S') %] [% ELSE %] never [% END %] [% build.description %]
[% END %] [% BLOCK showBuildStats %]
Finished builds: [% finishedBuilds %]
Succeeded Succeeded builds: [% succeededBuilds %]
Failed Failed builds: [% finishedBuilds - succeededBuilds %]
Total build time: [% INCLUDE renderDuration duration = totalBuildTime %]
Scheduled builds: [% scheduledBuilds %]
Currently executing builds: [% busyBuilds %]
[% END %] [% BLOCK renderReleaseJobName -%] [% IF job.description; HTML.escape(job.description); ELSE %][% job.job %] ([% job.attrs %])[% END -%] [% END -%] [% BLOCK maybeLink -%] [% IF uri %] uri) %]>[% content %][% ELSE; content; END -%] [% END -%] [% BLOCK renderSelection %] [% IF edit %] [% ELSE %] [% options.$curValue %] [% END %] [% END %] [% BLOCK maybeEditString; IF edit -%] param, name => param, value => value) %] /> [% ELSE; HTML.escape(value); END -%] [% END -%]