2009-04-02 16:15:57 +00:00
|
|
|
|
[% WRAPPER layout.tt title="Job ‘$project.name:$jobset.name:$job.name’" %]
|
|
|
|
|
[% PROCESS common.tt %]
|
|
|
|
|
|
|
|
|
|
|
2010-01-07 14:25:12 +00:00
|
|
|
|
<h1>Job <tt>[% INCLUDE renderLink
|
|
|
|
|
uri = c.uri_for(c.controller('Project').action_for('view'), [project.name])
|
|
|
|
|
title = project.name %]:[% INCLUDE renderLink
|
|
|
|
|
uri = c.uri_for(c.controller('Jobset').action_for('index'), [project.name, jobset.name])
|
|
|
|
|
title = jobset.name %]:[% job.name %]</tt></h1>
|
2009-04-02 16:15:57 +00:00
|
|
|
|
|
|
|
|
|
|
2010-02-05 14:48:22 +00:00
|
|
|
|
<div id="generic-tabs">
|
|
|
|
|
<ul>
|
|
|
|
|
<li><a href="#tabs-status">Status</a></li>
|
|
|
|
|
<li><a href="#tabs-channels">Channels</a></li>
|
|
|
|
|
<li><a href="#tabs-latestbuilds">Latest builds</a></li>
|
2010-02-09 12:35:20 +00:00
|
|
|
|
<!-- <li><a href="#tabs-statistics">Statistics</a></li> -->
|
2010-02-05 14:48:22 +00:00
|
|
|
|
</ul>
|
|
|
|
|
<div id="tabs-status">
|
2010-04-23 08:17:15 +00:00
|
|
|
|
[% IF currentBuilds.size != 0 %]
|
|
|
|
|
<h2>Finished builds</h2>
|
2010-02-05 14:48:22 +00:00
|
|
|
|
[% INCLUDE renderBuildList builds=currentBuilds showStatusChange=0 %]
|
2010-04-23 08:17:15 +00:00
|
|
|
|
[% ELSE %]
|
|
|
|
|
[% IF lastBuilds.size != 0 %]
|
|
|
|
|
<h2>Last 5 builds</h2>
|
|
|
|
|
[% INCLUDE renderBuildList builds=lastBuilds showStatusChange=0 %]
|
|
|
|
|
[% END %]
|
|
|
|
|
[% END %]
|
|
|
|
|
[% IF runningBuilds.size != 0 %]
|
|
|
|
|
<h2>Running builds</h2>
|
|
|
|
|
[% INCLUDE renderBuildList builds=runningBuilds showSchedulingInfo=1 hideResultInfo=1 %]
|
|
|
|
|
[% END %]
|
2010-02-05 14:48:22 +00:00
|
|
|
|
</div>
|
|
|
|
|
<div id="tabs-channels">
|
|
|
|
|
<p>This job provides the following Nix channels:</p>
|
|
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="[% c.uri_for('/job' project.name jobset.name job.name
|
|
|
|
|
'channel' 'latest') %]"><tt>latest</tt></a> — contains the latest
|
|
|
|
|
successful build for each platform.
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="[% c.uri_for('/job' project.name jobset.name job.name
|
|
|
|
|
'channel' 'all') %]"><tt>all</tt></a> — contains every successful
|
|
|
|
|
build of this job.
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="tabs-latestbuilds">
|
|
|
|
|
<ul>
|
|
|
|
|
<li><a href="[% c.uri_for('/job' project.name jobset.name job.name
|
|
|
|
|
'latest') %]">Latest successful build.</a></li>
|
|
|
|
|
[% FOREACH system IN systems %]
|
|
|
|
|
<li><a href="[% c.uri_for('/job' project.name jobset.name job.name
|
|
|
|
|
'latest-for' system.system) %]">Latest successful build for <tt>[%
|
|
|
|
|
system.system %]</tt>.</a></li>
|
|
|
|
|
[% END %]
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
2010-02-09 12:35:20 +00:00
|
|
|
|
[%#
|
2010-02-05 14:48:22 +00:00
|
|
|
|
<div id="tabs-statistics">
|
2010-02-09 12:35:20 +00:00
|
|
|
|
[% INCLUDE showBuildStats % ]
|
|
|
|
|
</div>
|
|
|
|
|
%]
|
2010-02-05 14:48:22 +00:00
|
|
|
|
</div>
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
$("#generic-tabs").tabs();
|
|
|
|
|
</script>
|
2009-04-02 16:15:57 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[% END %]
|