forked from lix-project/hydra
11d8421def
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
45 lines
1.2 KiB
Text
45 lines
1.2 KiB
Text
[% releaseName = (release.releasename || "(No name)") -%]
|
|
[% WRAPPER layout.tt title="Release $releaseName" %]
|
|
[% PROCESS common.tt %]
|
|
[% PROCESS "product-list.tt" %]
|
|
[% USE HTML %]
|
|
|
|
<h1>Release <tt>[% releaseName %]</tt></h1>
|
|
|
|
<p><em>Released on [% INCLUDE renderDateTime timestamp = release.timestamp %].</em></p>
|
|
|
|
[% IF release.status == 1 %]
|
|
<p class="error">This is a failed release. One of its jobs has failed. See below for details.</p>
|
|
[% ELSIF release.status == 2 %]
|
|
<p class="error">This is an incomplete release. One of its jobs has not been built (yet). See below for details.</p>
|
|
[% END %]
|
|
|
|
[% FOREACH j IN release.jobs %]
|
|
|
|
<h2>
|
|
[% IF j.build %]<a href="[% c.uri_for('/build' j.build.id) %]">[% END %]
|
|
[% INCLUDE renderReleaseJobName job=j.job %]
|
|
[% IF j.build %]</a>[% END %]
|
|
</h2>
|
|
|
|
[% IF j.build %]
|
|
|
|
[% IF j.build.resultInfo.buildstatus == 0 %]
|
|
|
|
[% INCLUDE renderProductList build=j.build latestRoot=['/release' project.name releaseSet.name 'latest' j.job.job] %]
|
|
|
|
[% ELSE %]
|
|
|
|
<p class="error">Build failed</p>
|
|
|
|
[% END %]
|
|
|
|
[% ELSE %]
|
|
|
|
<p class="error">Build not (yet) performed.</p>
|
|
|
|
[% END %]
|
|
|
|
[% END %]
|
|
|
|
[% END %]
|