Add a redirect from an eval to a named member

[?]
Aug 12, 2013, 11:56 PM
KSFBREJF6VBK3VMGKOU2Y47AT2NA3QNBJVLSNXOBUAG3ENWAL5JAC

Dependencies

  • [2] U4TD3AIQ Add support for viewing jobset evaluations

Change contents

  • edit in src/lib/Hydra/Controller/JobsetEval.pm at line 149
    [2.3918]
    [2.3918]
    sub job : Chained('eval') PathPart('job') {
    my ($self, $c, $job, @rest) = @_;
  • edit in src/lib/Hydra/Controller/JobsetEval.pm at line 154
    [2.3919]
    [2.3919]
    my $build = $c->stash->{eval}->builds->find({job => $job});
  • edit in src/lib/Hydra/Controller/JobsetEval.pm at line 156
    [2.3920]
    [2.3920]
    notFound($c, "This evaluation has no job with the specified name.") unless defined $build;
    $c->res->redirect($c->uri_for($c->controller('Build')->action_for("build"), [$build->id], @rest));
    }