forked from lix-project/hydra
Hydra/31: "Duration" field broken in cached builds that are not in DB anymore
This commit is contained in:
parent
56f05f2bdf
commit
239bad160f
|
@ -129,7 +129,7 @@
|
||||||
<th>Duration:</th>
|
<th>Duration:</th>
|
||||||
<td>
|
<td>
|
||||||
[% IF build.resultInfo.iscachedbuild %]
|
[% IF build.resultInfo.iscachedbuild %]
|
||||||
(cached from [% INCLUDE renderFullBuildLink build=cachedBuild %])
|
(cached[% IF cachedBuild %] from [% INCLUDE renderFullBuildLink build=cachedBuild %][% END %])
|
||||||
[% ELSE %]
|
[% ELSE %]
|
||||||
[% INCLUDE renderDuration duration = build.resultInfo.stoptime - build.resultInfo.starttime %] <tt>finished at [% INCLUDE renderDateTime timestamp = build.resultInfo.stoptime %]</tt>
|
[% INCLUDE renderDuration duration = build.resultInfo.stoptime - build.resultInfo.starttime %] <tt>finished at [% INCLUDE renderDateTime timestamp = build.resultInfo.stoptime %]</tt>
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
Loading…
Reference in a new issue