From 9a041f9a362aa89eb0b77cf7c40fe774df9e5875 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 26 Jun 2015 11:28:38 +0200 Subject: [PATCH] Restart builds failed due to unsupported system type --- src/lib/Hydra/Controller/JobsetEval.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Hydra/Controller/JobsetEval.pm b/src/lib/Hydra/Controller/JobsetEval.pm index 65ae7fb0..7a618b7f 100644 --- a/src/lib/Hydra/Controller/JobsetEval.pm +++ b/src/lib/Hydra/Controller/JobsetEval.pm @@ -169,7 +169,7 @@ sub cancel : Chained('eval') PathPart('cancel') Args(0) { sub restart_aborted : Chained('eval') PathPart('restart-aborted') Args(0) { my ($self, $c) = @_; requireProjectOwner($c, $c->stash->{eval}->project); - my $builds = $c->stash->{eval}->builds->search({ finished => 1, buildstatus => { -in => [3, 4] } }); + my $builds = $c->stash->{eval}->builds->search({ finished => 1, buildstatus => { -in => [3, 4, 9] } }); my $n = restartBuilds($c->model('DB')->schema, $builds); $c->flash->{successMsg} = "$n builds have been restarted."; $c->res->redirect($c->uri_for($c->controller('JobsetEval')->action_for('view'), $c->req->captures));