Fix latest-finished

This commit is contained in:
Eelco Dolstra
2016-03-02 18:06:20 +01:00
parent 232ca8fea2
commit e7655fdcbc
6 changed files with 2 additions and 5 deletions

View File

@ -222,7 +222,6 @@ sub bump : Chained('evalChain') PathPart('bump') Args(0) {
# Hydra::Base::Controller::NixChannel needs this.
sub nix : Chained('evalChain') PathPart('channel') CaptureArgs(0) {
my ($self, $c) = @_;
requireLocalStore($c);
$c->stash->{channelName} = $c->stash->{project}->name . "-" . $c->stash->{jobset}->name . "-latest";
$c->stash->{channelBuilds} = $c->stash->{eval}->builds
->search_literal("exists (select 1 from buildproducts where build = build.id and type = 'nix-build')")