Add a redirect from an eval to a named member
[?]
Aug 12, 2013, 11:56 PM
KSFBREJF6VBK3VMGKOU2Y47AT2NA3QNBJVLSNXOBUAG3ENWAL5JACDependencies
- [2]
U4TD3AIQAdd support for viewing jobset evaluations
Change contents
- edit in src/lib/Hydra/Controller/JobsetEval.pm at line 149
sub job : Chained('eval') PathPart('job') {my ($self, $c, $job, @rest) = @_; - edit in src/lib/Hydra/Controller/JobsetEval.pm at line 154
my $build = $c->stash->{eval}->builds->find({job => $job}); - edit in src/lib/Hydra/Controller/JobsetEval.pm at line 156
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));}