Jobset eval page: Fix handling of aborted/cancelled builds
[?]
Jan 15, 2014, 3:06 PM
JWFZGHKPRS2JUAUQT7MRXMDPZOFBCJM4BRFT5D3WC7M6Y5JY5CVQCDependencies
- [2]
EAN5HLLRJobset eval page: Show all aborted builds under the "aborted jobs" tab - [3]
WZZOOYCHShow queued builds in jobset evaluation pages - [4]
DE2DNCOIAllow comparing an evaluation with an arbitrary other evaluation - [5]
RHUAFTJAShow aborted/cancelled builds separately in jobset eval pages - [6]
U4TD3AIQAdd support for viewing jobset evaluations - [7]
L7NUCXKSShow new and removed jobs - [8]
K7V2CCD7Fix an uninitialized value warning
Change contents
- replacement in src/lib/Hydra/Controller/JobsetEval.pm at line 85
if ($build->finished != 0 && ($build->buildstatus == 3 || $build->buildstatus == 4)) {push @{$c->stash->{aborted}}, $build;next;}my $aborted = $build->finished != 0 && ($build->buildstatus == 3 || $build->buildstatus == 4); - replacement in src/lib/Hydra/Controller/JobsetEval.pm at line 95
if ($build->finished == 0 || $build2->finished == 0) {if ($aborted) {# do nothing} elsif ($build->finished == 0 || $build2->finished == 0) { - replacement in src/lib/Hydra/Controller/JobsetEval.pm at line 113
push @{$c->stash->{new}}, $build if !$found;if ($aborted) {push @{$c->stash->{aborted}}, $build;} else {push @{$c->stash->{new}}, $build if !$found;}