diff --git a/src/root/view-result.tt b/src/root/view-result.tt index 24e9fac5..88678b19 100644 --- a/src/root/view-result.tt +++ b/src/root/view-result.tt @@ -26,12 +26,12 @@ [% IF j.build.resultInfo.buildstatus == 0 %] - [% IF j.build.buildproducts.size == 0 %] + [% INCLUDE renderProductList build=j.build latestRoot=['/view' project.name view.name 'latest' j.job.job] %] + + [% IF nrProducts == 0 %]

Succeeded.

[% END %] - [% INCLUDE renderProductList build=j.build latestRoot=['/view' project.name view.name 'latest' j.job.job] %] - [% ELSE %]

Build failed