* Store build duration, handle cached builds.

This commit is contained in:
Eelco Dolstra
2008-10-28 17:08:29 +00:00
parent 08798f3c07
commit 5915bcaba3
10 changed files with 70 additions and 33 deletions

View File

@ -12,7 +12,7 @@
</tr>
<tr>
<th>Job name:</th>
<td>[% build.name %]</td>
<td>[% build.jobname %]</td>
</tr>
<tr>
<th>Description:</th>
@ -22,6 +22,16 @@
<th>Time added:</th>
<td>[% date.format(build.timestamp, '%Y-%m-%d %H:%M:%S') %]</td>
</tr>
<tr>
<th>Duration (seconds):</th>
<td>
[% IF build.iscachedbuild %]
<em>(cached build)</em>
[% ELSE %]
[% build.stoptime - build.starttime %]
[% END %]
</td>
</tr>
<tr>
<th>Derivation store path:</th>
<td><tt>[% build.drvpath %]</tt></td>