Add action to restart all failed builds in an eval
[?]
Oct 28, 2015, 2:04 PM
AR5EHCUFCQJERDWBVZAJ6WZCDFWZPLH2UNDSLPXM7BSSMV3DQMBACDependencies
- [2]
YQFIBA4JRestart builds failed due to unsupported system type - [3]
6S3ZLOZLReturn JSON for /eval - [4]
VHV6GI4LAdd a jobset eval action to restart all aborted/cancelled builds - [5]
UOINKJ2JAdd an action to cancel all builds in a jobset eval - [*]
U4TD3AIQAdd support for viewing jobset evaluations - [*]
MZ63OVKPAllow bumping an entire evaluation to the front of the queue
Change contents
- replacement in src/lib/Hydra/Controller/JobsetEval.pm at line 187
sub restart_aborted : Chained('evalChain') PathPart('restart-aborted') Args(0) {my ($self, $c) = @_;sub restart {my ($self, $c, $condition) = @_; - replacement in src/lib/Hydra/Controller/JobsetEval.pm at line 190
my $builds = $c->stash->{eval}->builds->search({ finished => 1, buildstatus => { -in => [3, 4, 9] } });my $builds = $c->stash->{eval}->builds->search({ finished => 1, buildstatus => $condition }); - edit in src/lib/Hydra/Controller/JobsetEval.pm at line 194
}sub restart_aborted : Chained('evalChain') PathPart('restart-aborted') Args(0) {my ($self, $c) = @_;restart($self, $c, { -in => [3, 4, 9] }); - edit in src/lib/Hydra/Controller/JobsetEval.pm at line 203
sub restart_failed : Chained('evalChain') PathPart('restart-failed') Args(0) {my ($self, $c) = @_;restart($self, $c, { 'not in' => [0] });} - edit in src/root/jobset-eval.tt at line 53[8.753][8.753]
[% IF aborted.size > 0 || stillFail.size > 0 || nowFail.size > 0 %]<li><a href="[% c.uri_for(c.controller('JobsetEval').action_for('restart_failed'), [eval.id]) %]">Restart all failed builds</a></li>[% END %]