diff --git a/src/lib/Hydra/Controller/JobsetEval.pm b/src/lib/Hydra/Controller/JobsetEval.pm index 824f01e2..16fba67f 100644 --- a/src/lib/Hydra/Controller/JobsetEval.pm +++ b/src/lib/Hydra/Controller/JobsetEval.pm @@ -39,6 +39,7 @@ sub view : Chained('eval') PathPart('') Args(0) { $c->stash->{nowFail} = []; $c->stash->{new} = []; $c->stash->{removed} = []; + $c->stash->{unfinished} = []; my $n = 0; foreach my $build (@builds) { @@ -49,7 +50,9 @@ sub view : Chained('eval') PathPart('') Args(0) { || $build->get_column('system') cmp $build2->get_column('system'); if ($d == 0) { $n++; - if ($build->buildstatus == 0 && $build2->buildstatus == 0) { + if ($build->finished == 0 || $build2->finished == 0) { + push @{$c->stash->{unfinished}}, $build; + } elsif ($build->buildstatus == 0 && $build2->buildstatus == 0) { push @{$c->stash->{stillSucceed}}, $build; } elsif ($build->buildstatus != 0 && $build2->buildstatus != 0) { push @{$c->stash->{stillFail}}, $build; diff --git a/src/root/jobset-eval.tt b/src/root/jobset-eval.tt index eab0788d..e5c03737 100644 --- a/src/root/jobset-eval.tt +++ b/src/root/jobset-eval.tt @@ -16,6 +16,11 @@ [% INCLUDE renderBuildListHeader unsortable=1 %] +[% IF unfinished.size > 0 %] +