[% USE date %]
[% USE HTML %]
[% inputTypes =
{ "svn" = "Subversion checkout"
, "cvs" = "CVS checkout"
, "git" = "Git 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 %]
P |
[% END %]
Job |
Release Name |
System |
Timestamp |
[% IF showStatusChange %]
[% END %]
[% IF showDescription %]
Description |
[% END %]
[% odd = 0 %]
[% FOREACH build IN builds -%]
[% IF !hideResultInfo %]
[% IF build.get_column('buildstatus') == 0 %]
[% ELSE %]
[% END %]
|
[% END %]
[% build.id %] |
[% IF showSchedulingInfo %]
[% build.schedulingInfo.priority %] |
[% END %]
[% 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 showStatusChange %]
[% IF build.get_column('statusChangeTime') %]
[% date.format(build.get_column('statusChangeTime'), '%Y-%m-%d %H:%M:%S') %]
[% ELSE %]
never
[% END %]
|
[% END %]
[% IF showDescription %]
[% build.description %] |
[% END -%]
[% END -%]
[% END %]
[% BLOCK renderLink %][% title %][% END %]
[% BLOCK showBuildStats %]
Finished builds: |
[% finishedBuilds %] |
Succeeded builds: |
[% succeededBuilds %] |
Failed builds: |
[% finishedBuilds - succeededBuilds %] |
Total build time: |
[% INCLUDE renderDuration duration = totalBuildTime %] |
Scheduled builds: |
[% scheduledBuilds %] |
Currently executing builds: |
[% busyBuilds %] |
[% END %]
[% BLOCK renderViewJobName -%]
[% 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 -%]