2008-11-26 17:43:45 +00:00
|
|
|
[% USE date %]
|
|
|
|
|
|
|
|
|
2008-11-17 23:59:20 +00:00
|
|
|
[% inputTypes =
|
|
|
|
{ "svn" = "Subversion checkout"
|
|
|
|
, "cvs" = "CVS checkout"
|
|
|
|
, "tarball" = "Download of a tarball"
|
|
|
|
, "string" = "String value"
|
2008-11-25 18:34:24 +00:00
|
|
|
, "boolean" = "Boolean"
|
2008-11-17 23:59:20 +00:00
|
|
|
, "path" = "Local path"
|
|
|
|
, "build" = "Build output"
|
|
|
|
}
|
|
|
|
%]
|
2008-11-25 13:27:57 +00:00
|
|
|
|
|
|
|
|
|
|
|
[% BLOCK renderDateTime %]
|
|
|
|
[% date.format(timestamp, '%Y-%m-%d %H:%M:%S') -%]
|
2008-11-26 17:43:45 +00:00
|
|
|
[% END %]
|
|
|
|
|
|
|
|
|
|
|
|
[% BLOCK renderBuildList %]
|
2008-11-27 09:59:29 +00:00
|
|
|
<table class="buildList tablesorter">
|
2008-11-26 17:43:45 +00:00
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
[% IF !hideResultInfo %]
|
|
|
|
<th></th>
|
|
|
|
[% END %]
|
|
|
|
<th>#</th>
|
|
|
|
[% IF showSchedulingInfo %]
|
|
|
|
<th>Priority</th>
|
|
|
|
[% END %]
|
|
|
|
<th>Project</th>
|
|
|
|
<th>Job</th>
|
|
|
|
<th>System</th>
|
|
|
|
<th>Timestamp</th>
|
|
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
[% FOREACH build IN builds -%]
|
2008-11-27 10:04:54 +00:00
|
|
|
<tr class="clickable [% IF build.schedulingInfo.busy %]runningJob[% END %]"
|
2008-11-27 09:59:29 +00:00
|
|
|
onclick="window.location = '[% c.uri_for('/build' build.id) %]'">
|
2008-11-26 17:43:45 +00:00
|
|
|
[% IF !hideResultInfo %]
|
|
|
|
<td>
|
|
|
|
[% IF build.resultInfo.buildstatus == 0 %]
|
|
|
|
<img src="/static/images/success.gif" />
|
|
|
|
[% ELSE %]
|
|
|
|
<img src="/static/images/failure.gif" />
|
|
|
|
[% END %]
|
|
|
|
</td>
|
|
|
|
[% END %]
|
|
|
|
<td><a href="[% c.uri_for('/build' build.id) %]">[% build.id %]</a></td>
|
|
|
|
[% IF showSchedulingInfo %]
|
|
|
|
<td>[% build.schedulingInfo.priority %]</td>
|
|
|
|
[% END %]
|
|
|
|
<td><a href="[% c.uri_for('/project' build.project.name) %]"><tt>[% build.project.name %]</tt></a></td>
|
|
|
|
<td><a href="[% c.uri_for('/job' build.project.name build.attrname) %]"><tt>[% build.attrname %]</tt></a></td>
|
|
|
|
<td><tt>[% build.system %]</tt></td>
|
|
|
|
<td>[% date.format(build.timestamp, '%Y-%m-%d %H:%M:%S') %]</td>
|
|
|
|
<td>[% build.description %]</td>
|
|
|
|
</tr>
|
|
|
|
[% END -%]
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2008-11-26 23:49:51 +00:00
|
|
|
[% END %]
|
|
|
|
|
|
|
|
|
|
|
|
[% BLOCK showBuildStats %]
|
|
|
|
|
|
|
|
<table class="layoutTable">
|
|
|
|
<tr>
|
|
|
|
<th>Finished builds:</th>
|
|
|
|
<td>[% finishedBuilds %]</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th><img src="/static/images/success.gif" /> Succeeded builds:</th>
|
|
|
|
<td>[% succeededBuilds %]</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th><img src="/static/images/failure.gif" /> Failed builds:</th>
|
|
|
|
<td>[% finishedBuilds - succeededBuilds %]</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Total build time:</th>
|
|
|
|
<td>[% totalBuildTime %]s</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Scheduled builds:</th>
|
|
|
|
<td>[% scheduledBuilds %]</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Currently executing builds:</th>
|
|
|
|
<td>[% busyBuilds %]</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
2008-11-27 18:27:19 +00:00
|
|
|
[% END %]
|
|
|
|
|
|
|
|
|
|
|
|
[% BLOCK renderReleaseJobName -%]
|
|
|
|
[% IF job.description; HTML.escape(job.description); ELSE %]<tt>[% job.job %]</tt> ([% job.attrs %])[% END -%]
|
|
|
|
[% END -%]
|