2008-10-28 10:19:31 +00:00
|
|
|
[% WRAPPER layout.tt title="Hydra Overview" %]
|
|
|
|
[% USE date %]
|
|
|
|
|
2008-11-05 23:08:16 +00:00
|
|
|
<h1>Job <tt>[% build.project %]:[% build.attrname %]</tt> build [% id %]</h1>
|
2008-10-28 10:19:31 +00:00
|
|
|
|
2008-11-05 06:23:41 +00:00
|
|
|
|
2008-10-28 10:19:31 +00:00
|
|
|
<h2>Information</h2>
|
|
|
|
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<th>Build ID:</th>
|
|
|
|
<td>[% build.id %]</td>
|
|
|
|
</tr>
|
2008-11-05 03:25:48 +00:00
|
|
|
<tr>
|
|
|
|
<th>Project:</th>
|
|
|
|
<td><tt>[% build.project %]</tt></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Jobset:</th>
|
|
|
|
<td><tt>[% build.jobset %]</tt></td>
|
|
|
|
</tr>
|
2008-10-28 10:19:31 +00:00
|
|
|
<tr>
|
|
|
|
<th>Job name:</th>
|
2008-11-05 03:25:48 +00:00
|
|
|
<td><tt>[% build.attrname %]</tt></td>
|
2008-10-28 10:19:31 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Description:</th>
|
|
|
|
<td>[% build.description %]</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Time added:</th>
|
|
|
|
<td>[% date.format(build.timestamp, '%Y-%m-%d %H:%M:%S') %]</td>
|
|
|
|
</tr>
|
2008-10-28 17:08:29 +00:00
|
|
|
<tr>
|
|
|
|
<th>Duration (seconds):</th>
|
|
|
|
<td>
|
|
|
|
[% IF build.iscachedbuild %]
|
|
|
|
<em>(cached build)</em>
|
|
|
|
[% ELSE %]
|
|
|
|
[% build.stoptime - build.starttime %]
|
|
|
|
[% END %]
|
|
|
|
</td>
|
|
|
|
</tr>
|
2008-10-28 10:19:31 +00:00
|
|
|
<tr>
|
|
|
|
<th>Derivation store path:</th>
|
|
|
|
<td><tt>[% build.drvpath %]</tt></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Output store path:</th>
|
|
|
|
<td><tt>[% build.outpath %]</tt></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
2008-11-05 06:23:41 +00:00
|
|
|
<h2>Build inputs</h2>
|
|
|
|
|
|
|
|
<table class="tablesorter">
|
|
|
|
<thead>
|
2008-11-05 23:08:16 +00:00
|
|
|
<tr><th>Name</th><th>Type</th><th>What</th><th>Store path</th></tr>
|
2008-11-05 06:23:41 +00:00
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
[% FOREACH input IN build.buildinputs -%]
|
|
|
|
<tr>
|
2008-11-05 23:08:16 +00:00
|
|
|
<td><tt>[% input.name %]</tt></td>
|
|
|
|
<td><tt>[% input.type %]</tt></td>
|
|
|
|
<td>
|
|
|
|
[% IF input.type == "build" %]
|
|
|
|
<a href="[% c.uri_for('/build' input.inputid) %]">Build [% input.inputid %]</a>
|
|
|
|
[% ELSE %]
|
|
|
|
<tt>[% input.uri %]</tt>
|
|
|
|
[% END %]
|
|
|
|
</td>
|
|
|
|
<td><tt>[% input.path %]</tt></td>
|
2008-11-05 06:23:41 +00:00
|
|
|
</tr>
|
|
|
|
[% END -%]
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
2008-10-28 10:19:31 +00:00
|
|
|
<h2>Build products</h2>
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
|
|
|
|
[% FOREACH product IN build.buildproducts -%]
|
|
|
|
<li>
|
|
|
|
[% SWITCH product.type %]
|
|
|
|
[% CASE "nix-build" %]
|
|
|
|
Nix build of path <tt>[% product.path %]</tt>
|
|
|
|
[% END %]
|
|
|
|
</li>
|
|
|
|
[% END -%]
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
<h2>Logs</h2>
|
|
|
|
|
|
|
|
<table>
|
|
|
|
<tr><th>Phase</th></tr>
|
|
|
|
[% FOREACH log IN build.buildlogs -%]
|
|
|
|
<tr>
|
|
|
|
<td><a href="[% c.uri_for('/log' build.id log.logphase) %]">[% log.logphase %]</a></td>
|
|
|
|
</tr>
|
|
|
|
[% END -%]
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
[% END %]
|
|
|
|
|