Skip to content

Commit

Permalink
Remove per-platform links from the job page
Browse files Browse the repository at this point in the history
Having different builds within a job is obsolete (issue #60), one
should have different job per platform (e.g. build.x86_64-linux).
  • Loading branch information
edolstra committed Aug 16, 2013
1 parent 056e2ce commit e54c361
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/lib/Hydra/Controller/Job.pm
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ sub overview : Chained('job') PathPart('') Args(0) {
, '+as' => ['enabled']
}
) ];

$c->stash->{systems} = [$c->stash->{job}->builds->search({iscurrent => 1}, {select => ["system"], distinct => 1})];
}


Expand Down
3 changes: 0 additions & 3 deletions src/root/job.tt
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@
<ul>
<li><a href="[% c.uri_for('/job' project.name jobset.name job.name 'latest') %]">Latest successful build</a></li>
<li><a href="[% c.uri_for('/job' project.name jobset.name job.name 'latest-finished') %]">Latest successful build from a finished evaluation</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>

Expand Down

0 comments on commit e54c361

Please sign in to comment.