* Provide some redirects to build products by type so that we can for
example link to the latest tarball through a URI like: http://server/job/patchelf/trunk/tarball/latest/download-by-type/file/source-dist
This commit is contained in:
@ -103,10 +103,16 @@
|
||||
<table>
|
||||
<tr>
|
||||
<th>URL:</th>
|
||||
<td><a href="[% uri %]"><tt>[% uri %]</tt></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Links to latest:</th>
|
||||
<td>
|
||||
<a href="[% uri %]">
|
||||
<tt>[% uri %]</tt>
|
||||
</a>
|
||||
[% uri2 = "${c.uri_for('/job' build.project.name build.jobset.name build.job.name 'latest' 'download-by-type' product.type product.subtype)}" %]
|
||||
<a href="[% uri2 %]"><tt>[% uri2 %]</tt></a>
|
||||
<br />
|
||||
[% uri2 = "${c.uri_for('/job' build.project.name build.jobset.name build.job.name 'latest' 'download' product.productnr)}" %]
|
||||
<a href="[% uri2 %]"><tt>[% uri2 %]</tt></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><th>File size:</th><td>[% product.filesize %] bytes ([% mibs(product.filesize / (1024 * 1024)) %] MiB)</td></tr>
|
||||
|
Reference in New Issue
Block a user