2008-11-27 18:27:19 +00:00
|
|
|
[% 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>
|
|
|
|
|
2009-03-18 18:50:42 +00:00
|
|
|
<p><em>Released on [% INCLUDE renderDateTime timestamp = release.timestamp %].</em></p>
|
|
|
|
|
2008-11-27 18:27:19 +00:00
|
|
|
[% 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 %]
|
|
|
|
|
2009-04-02 16:15:57 +00:00
|
|
|
[% FOREACH j IN release.jobs %]
|
2008-11-27 18:27:19 +00:00
|
|
|
|
|
|
|
<h2>
|
2009-04-08 09:03:45 +00:00
|
|
|
[% IF j.build %]<a href="[% c.uri_for('/build' j.build.id) %]">[% END %]
|
2009-04-02 16:15:57 +00:00
|
|
|
[% INCLUDE renderReleaseJobName job=j.job %]
|
|
|
|
[% IF j.build %]</a>[% END %]
|
2008-11-27 18:27:19 +00:00
|
|
|
</h2>
|
|
|
|
|
2009-04-02 16:15:57 +00:00
|
|
|
[% IF j.build %]
|
2008-11-27 18:27:19 +00:00
|
|
|
|
2009-04-02 16:15:57 +00:00
|
|
|
[% IF j.build.resultInfo.buildstatus == 0 %]
|
2008-11-27 18:27:19 +00:00
|
|
|
|
2009-04-08 09:03:45 +00:00
|
|
|
[% INCLUDE renderProductList build=j.build latestRoot=['/release' project.name releaseSet.name 'latest' j.job.job] %]
|
2008-11-27 18:27:19 +00:00
|
|
|
|
|
|
|
[% ELSE %]
|
|
|
|
|
|
|
|
<p class="error">Build failed</p>
|
|
|
|
|
|
|
|
[% END %]
|
|
|
|
|
|
|
|
[% ELSE %]
|
|
|
|
|
|
|
|
<p class="error">Build not (yet) performed.</p>
|
|
|
|
|
|
|
|
[% END %]
|
|
|
|
|
|
|
|
[% END %]
|
|
|
|
|
|
|
|
[% END %]
|