Always show the build duration (using the cached build if necessary)
This commit is contained in:
parent
aebefda6ab
commit
11c09e4c5c
@ -111,12 +111,13 @@
|
|||||||
<th>Cached from:</th>
|
<th>Cached from:</th>
|
||||||
<td>[% INCLUDE renderFullBuildLink build=cachedBuild %]</td>
|
<td>[% INCLUDE renderFullBuildLink build=cachedBuild %]</td>
|
||||||
</tr>
|
</tr>
|
||||||
[% ELSE %]
|
[% END %]
|
||||||
<tr>
|
<tr>
|
||||||
<th>Duration:</th>
|
<th>Duration:</th>
|
||||||
<td>[% INCLUDE renderDuration duration = build.stoptime - build.starttime %]; finished at [% INCLUDE renderDateTime timestamp = build.stoptime %]</td>
|
<td>[% actualBuild = build.iscachedbuild ? cachedBuild : build;
|
||||||
|
INCLUDE renderDuration duration = actualBuild.stoptime - actualBuild.starttime %]; finished at [% INCLUDE renderDateTime timestamp = actualBuild.stoptime
|
||||||
|
%]</td>
|
||||||
</tr>
|
</tr>
|
||||||
[% END %]
|
|
||||||
[% IF log_exists(build.drvpath) %]
|
[% IF log_exists(build.drvpath) %]
|
||||||
<tr>
|
<tr>
|
||||||
<th>Logfile:</th>
|
<th>Logfile:</th>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user