Fix a reference to BuildResultInfo

[?]
Mar 8, 2012, 12:17 AM
YLMZLL2UL5GNOIYYEZ63EZBEUFAHTR7EQTJFSBQDYR5HAOQHHZRQC

Dependencies

  • [2] MOX7XJ2E Merge the BuildSchedulingInfo table into the Builds table
  • [3] ZILILXXK * Allow scheduled builds to be cancelled. They're not removed from
  • [4] NEWDDAOF * Allow users to change the value of a build's "keep" flag, which
  • [*] LBNVQXUB * Build the /build stuff in a separate controller.

Change contents

  • replacement in src/lib/Hydra/Controller/Build.pm at line 414
    [3.954][2.1573:1644](),[3.60][3.1042:1202](),[2.1644][3.1042:1202](),[3.1042][3.1042:1202]()
    $build->update({finished => 1, busy => 0, timestamp => time});
    $c->model('DB::BuildResultInfo')->create(
    { id => $build->id
    , iscachedbuild => 0
    , buildstatus => 4 # = cancelled
    [3.954]
    [3.1202]
    $build->update(
    { finished => 1, busy => 0, timestamp => time
    , iscachedbuild => 0, buildstatus => 4 # = cancelled