Don't show duration of unfinished builds
This commit is contained in:
parent
2a3e832fc4
commit
5462be23d5
|
@ -122,12 +122,14 @@
|
||||||
<td>[% INCLUDE renderFullBuildLink build=cachedBuild %]</td>
|
<td>[% INCLUDE renderFullBuildLink build=cachedBuild %]</td>
|
||||||
</tr>
|
</tr>
|
||||||
[% END %]
|
[% END %]
|
||||||
|
[% IF build.finished %]
|
||||||
<tr>
|
<tr>
|
||||||
<th>Duration:</th>
|
<th>Duration:</th>
|
||||||
<td>[% actualBuild = build.iscachedbuild ? cachedBuild : build;
|
<td>[% actualBuild = build.iscachedbuild ? cachedBuild : build;
|
||||||
INCLUDE renderDuration duration = actualBuild.stoptime - actualBuild.starttime %]; finished at [% INCLUDE renderDateTime timestamp = actualBuild.stoptime
|
INCLUDE renderDuration duration = actualBuild.stoptime - actualBuild.starttime %]; finished at [% INCLUDE renderDateTime timestamp = actualBuild.stoptime
|
||||||
%]</td>
|
%]</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
[% END %]
|
||||||
[% IF log_exists(build.drvpath) %]
|
[% IF log_exists(build.drvpath) %]
|
||||||
<tr>
|
<tr>
|
||||||
<th>Logfile:</th>
|
<th>Logfile:</th>
|
||||||
|
|
Loading…
Reference in a new issue