* Support redirecting to some job of a release. For instance, this
redirects to the "tarball" build of the latest release of patchelf/unstable: http://server/release/patchelf/unstable/latest/tarball In conjunction with the other redirects this allows linking to the actual download of the build: http://server/release/patchelf/unstable/latest/tarball/download-by-type/file/source-dist
This commit is contained in:
@ -17,7 +17,7 @@
|
||||
[% FOREACH j IN release.jobs %]
|
||||
|
||||
<h2>
|
||||
[% IF j.build %]<a href="[% c.uri_for('/build' job.build.id) %]">[% END %]
|
||||
[% IF j.build %]<a href="[% c.uri_for('/build' j.build.id) %]">[% END %]
|
||||
[% INCLUDE renderReleaseJobName job=j.job %]
|
||||
[% IF j.build %]</a>[% END %]
|
||||
</h2>
|
||||
@ -26,7 +26,7 @@
|
||||
|
||||
[% IF j.build.resultInfo.buildstatus == 0 %]
|
||||
|
||||
[% INCLUDE renderProductList build=j.build %]
|
||||
[% INCLUDE renderProductList build=j.build latestRoot=['/release' project.name releaseSet.name 'latest' j.job.job] %]
|
||||
|
||||
[% ELSE %]
|
||||
|
||||
|
Reference in New Issue
Block a user