* Only include the system type in URLs if there are multiple jobs with
the same name.
This commit is contained in:
@ -27,7 +27,9 @@
|
||||
[% IF j.build.resultInfo.buildstatus == 0 %]
|
||||
|
||||
[% IF j.build.buildproducts %]
|
||||
[% INCLUDE renderProductList build=j.build latestRoot=['/view' project.name view.name 'latest' "${j.job.job}-${j.build.system}"] %]
|
||||
[% p = jobNames.${j.job.job} > 1 ? "-${j.build.system}" : "";
|
||||
INCLUDE renderProductList build=j.build latestRoot=['/view' project.name view.name 'latest' "${j.job.job}${p}"]
|
||||
%]
|
||||
[% ELSE %]
|
||||
<p><em>Succeeded.</em></p>
|
||||
[% END %]
|
||||
|
Reference in New Issue
Block a user