hydra: show all running builds on job page, in stead of only showing the 'current' builds that are running

[?]
Oct 18, 2010, 12:06 PM
BAN2M7JI67TXLZUYENIFHCTDS77HKN3TTDY7HX3GKUIRNAIGV3FAC

Dependencies

  • [2] 777XFGVY Hydra/22: on job page, 'finished builds' shows nothing for old (non-current) jobs
  • [3] 2PEN43XF Hydra/40: Last 5 builds on job page incorrect
  • [4] S6OISBQ3 * Mark the "current" builds in a jobset, i.e. those corresponding to
  • [*] DEMSSSB2 * Controller for jobs which inherits all actions in ListBuilds. So

Change contents

  • replacement in src/lib/Hydra/Controller/Job.pm at line 34
    [2.329][2.329:499]()
    $c->stash->{runningBuilds} = [$c->stash->{job}->builds->search({iscurrent => 1}, { join => ['schedulingInfo', 'project'] , order_by => ["priority DESC", "timestamp"]
    [2.329]
    [2.499]
    $c->stash->{runningBuilds} = [$c->stash->{job}->builds->search({busy => 1}, { join => ['schedulingInfo', 'project'] , order_by => ["priority DESC", "timestamp"]