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 %]
|
|
|
|
|
|
|
|
|
2009-03-12 23:46:17 +00:00
|
|
|
[% BLOCK renderProjectName -%]
|
|
|
|
<a href="[% c.uri_for('/project' project) %]"><tt>[% project %]</tt></a>[% END -%]
|
|
|
|
|
|
|
|
|
|
|
|
[% BLOCK renderJobsetName -%]
|
|
|
|
<a href="[% c.uri_for('/jobset' project jobset) %]"><tt>[% jobset %]</tt></a>[% END -%]
|
|
|
|
|
|
|
|
|
|
|
|
[% BLOCK renderJobName -%]
|
|
|
|
<a href="[% c.uri_for('/job' project jobset job) %]"><tt>[% job %]</tt></a>[% END -%]
|
|
|
|
|
|
|
|
|
|
|
|
[% BLOCK renderFullJobName %]
|
|
|
|
<tt>
|
2009-03-13 15:57:43 +00:00
|
|
|
[% INCLUDE renderProjectName %]:[% INCLUDE renderJobsetName %]:[% INCLUDE renderJobName %]
|
2009-03-12 23:46:17 +00:00
|
|
|
</a>
|
|
|
|
[% END %]
|
|
|
|
|
|
|
|
|
2009-03-13 14:49:25 +00:00
|
|
|
[% BLOCK renderFullJobNameOfBuild %]
|
|
|
|
<tt>
|
2009-03-13 15:57:43 +00:00
|
|
|
[% INCLUDE renderFullJobName project=build.get_column("project") jobset = build.get_column("jobset") job = build.get_column("job") %]
|
2009-03-13 14:49:25 +00:00
|
|
|
</a>
|
|
|
|
[% END %]
|
|
|
|
|
|
|
|
|
2008-11-26 17:43:45 +00:00
|
|
|
[% 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>Job</th>
|
2009-03-12 23:46:17 +00:00
|
|
|
<th>Release Name</th>
|
2008-11-26 17:43:45 +00:00
|
|
|
<th>System</th>
|
|
|
|
<th>Timestamp</th>
|
|
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2009-03-04 15:41:37 +00:00
|
|
|
[% odd = 0 %]
|
2008-11-26 17:43:45 +00:00
|
|
|
[% FOREACH build IN builds -%]
|
2009-03-04 15:41:37 +00:00
|
|
|
<tr class="clickable
|
|
|
|
[% IF showSchedulingInfo -%]
|
2009-03-06 13:34:53 +00:00
|
|
|
[% IF build.schedulingInfo.busy %]runningBuild[% ELSIF build.schedulingInfo.disabled == 1 || build.project.enabled == 0 %]disabledBuild[% END %]
|
2009-03-04 15:41:37 +00:00
|
|
|
[% ELSE -%]
|
|
|
|
[% IF odd %] odd [% END; odd = !odd -%]
|
2008-11-30 18:55:03 +00:00
|
|
|
[% 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 %]
|
2009-03-04 15:25:35 +00:00
|
|
|
<img src="/static/images/success.gif" alt="Succeeded" />
|
2008-11-26 17:43:45 +00:00
|
|
|
[% ELSE %]
|
2009-03-04 15:25:35 +00:00
|
|
|
<img src="/static/images/failure.gif" alt="Failed" />
|
2008-11-26 17:43:45 +00:00
|
|
|
[% END %]
|
|
|
|
</td>
|
|
|
|
[% END %]
|
|
|
|
<td><a href="[% c.uri_for('/build' build.id) %]">[% build.id %]</a></td>
|
|
|
|
[% IF showSchedulingInfo %]
|
|
|
|
<td>[% build.schedulingInfo.priority %]</td>
|
|
|
|
[% END %]
|
2009-03-12 23:46:17 +00:00
|
|
|
<td>
|
2009-03-13 15:57:43 +00:00
|
|
|
[% INCLUDE renderFullJobNameOfBuild %]
|
2009-03-12 23:46:17 +00:00
|
|
|
</td>
|
2009-03-02 15:21:35 +00:00
|
|
|
<td>[% build.resultInfo.releasename ? build.resultInfo.releasename : build.nixname %]</td>
|
2008-11-26 17:43:45 +00:00
|
|
|
<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>
|
2009-03-04 15:25:35 +00:00
|
|
|
<th><img src="/static/images/success.gif" alt="Succeeded" /> Succeeded builds:</th>
|
2008-11-26 23:49:51 +00:00
|
|
|
<td>[% succeededBuilds %]</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2009-03-04 15:25:35 +00:00
|
|
|
<th><img src="/static/images/failure.gif" alt="Failed" /> Failed builds:</th>
|
2008-11-26 23:49:51 +00:00
|
|
|
<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 -%]
|