Hydra: Allow all builds to be restarted.

[?]
May 26, 2010, 8:03 AM
INRF7S4N5WETRJDO7ZVYTONEHDPNL3GTY4PJGJKDJKI6M4JDQV3AC

Dependencies

  • [2] N3MB3YSN * added jar to 'contents' list
  • [3] A52HEFHQ * Allow builds to be restarted (if they failed with a transient error,
  • [4] NLJJZVHO * Use ->update({...}) properly.
  • [5] LZO3C2KI * Hack around those SQLite timeouts: just retry the transaction.
  • [6] ZILILXXK * Allow scheduled builds to be cancelled. They're not removed from
  • [*] LBNVQXUB * Build the /build stuff in a separate controller.

Change contents

  • replacement in src/lib/Hydra/Controller/Build.pm at line 357
    [3.156][3.156:195](),[3.195][2.40:150](),[2.150][3.250:304](),[3.250][3.250:304]()
    unless $build->finished &&
    ($build->resultInfo->buildstatus == 2 ||
    $build->resultInfo->buildstatus == 3 ||
    $build->resultInfo->buildstatus == 4);
    [3.156]
    [3.304]
    unless $build->finished;