Show aborted/cancelled builds separately in jobset eval pages
[?]
Oct 2, 2013, 11:54 PM
RHUAFTJAKUW654TNYHQYSSQ4PXFEEMDRRTLEPKCP3MOE7TWMTICQCDependencies
- [2]
QD3NI3JYAllow comparing an eval against the jobset one day/week/month before - [3]
6HWHYPSWAdd an action menu to evaluations - [4]
L7NUCXKSShow new and removed jobs - [5]
HQGXL4MXAdd validation for project and jobset names - [6]
WZZOOYCHShow queued builds in jobset evaluation pages - [7]
U4TD3AIQAdd support for viewing jobset evaluations - [8]
DE2DNCOIAllow comparing an evaluation with an arbitrary other evaluation - [*]
4QCXGR4WTabify the eval page
Change contents
- replacement in src/lib/Hydra/Controller/JobsetEval.pm at line 42
} elsif ($compare =~ /^-(\d+)$/) {my $t = int($1);} elsif ($compare =~ /^-(\d+)$/) {my $t = int($1); - replacement in src/lib/Hydra/Controller/JobsetEval.pm at line 45
{ hasnewbuilds => 1, timestamp => {'<=', $eval->timestamp - $t} },{ order_by => "timestamp desc", rows => 1});{ hasnewbuilds => 1, timestamp => {'<=', $eval->timestamp - $t} },{ order_by => "timestamp desc", rows => 1}); - edit in src/lib/Hydra/Controller/JobsetEval.pm at line 81
$c->stash->{aborted} = []; - replacement in src/lib/Hydra/Controller/JobsetEval.pm at line 94
if ($build->finished == 0 || $build2->finished == 0) {if ($build->buildstatus == 3 || $build->buildstatus == 4) {push @{$c->stash->{aborted}}, $build;} elsif ($build->finished == 0 || $build2->finished == 0) { - edit in src/root/jobset-eval.tt at line 49[3.388][10.342]
[% IF aborted.size > 0 %]<li><a href="#tabs-aborted" data-toggle="tab"><span class="text-warning">Aborted jobs</span></a></li>[% END %] - edit in src/root/jobset-eval.tt at line 89[4.251][10.1818]
<div id="tabs-aborted" class="tab-pane">[% INCLUDE renderSome builds=aborted %]</div>