show current builds on job page

[?]
Jan 8, 2010, 11:50 AM
HUH62VDLCGY5OZWD6SZG7I2EUKDS5HCL4DKOLXDTFTVR3PHIMV6QC

Dependencies

  • [2] QL55ECJ6 - adapted ui for hydra, more in line with nixos.org website
  • [*] DEMSSSB2 * Controller for jobs which inherits all actions in ListBuilds. So
  • [*] BTUDUY6F * Provide some redirects to the latest successful build for a job (or
  • [*] S6OISBQ3 * Mark the "current" builds in a jobset, i.e. those corresponding to
  • [*] ODNCGFQ5 * Improved the navigation bar: don't include all projects (since that

Change contents

  • edit in src/lib/Hydra/Controller/Job.pm at line 28
    [5.1145]
    [6.0]
    $c->stash->{currentBuilds} = [$c->stash->{job}->builds->search({iscurrent => 1}, { join => 'resultInfo', '+select' => ["resultInfo.releasename", "resultInfo.buildstatus"]
    , '+as' => ["releasename", "buildstatus"], order_by => 'system' })];
  • edit in src/root/job.tt at line 10
    [2.1647]
    [7.7855]
    <h2>Status</h2>
  • edit in src/root/job.tt at line 14
    [7.7856]
    [7.7856]
    [% INCLUDE renderBuildList builds=currentBuilds showStatusChange=0 %]