Clear nrSucceeded when restarting a build

[?]
Apr 17, 2012, 9:34 AM
2UZJG6XTOBHA3UMWJ7DXNSWX5WKQK7ULCSFSIPSKNZHZ3WLSFUAQC

Dependencies

  • [2] MOX7XJ2E Merge the BuildSchedulingInfo table into the Builds table
  • [3] A52HEFHQ * Allow builds to be restarted (if they failed with a transient error,
  • [4] OSVLMLCQ hydra: factored out build restart and
  • [*] LBNVQXUB * Build the /build stuff in a separate controller.
  • [*] OOQ2D3KC * Refactoring: move fetchInput out of hydra_scheduler into a separate

Change contents

  • replacement in src/lib/Hydra/Controller/Build.pm at line 354
    [3.5][3.5:41]()
    my $drvpath = $build->drvpath ;
    [3.5]
    [3.41]
    my $drvpath = $build->drvpath;
  • replacement in src/lib/Hydra/Controller/Build.pm at line 356
    [3.90][3.90:139]()
    unless $build->finished && -f $drvpath ;
    [3.90]
    [3.521]
    unless $build->finished && -f $drvpath;
  • edit in src/lib/Hydra/Helper/AddBuilds.pm at line 971
    [2.3193]
    [3.980]
    # Reset the stats for the evals to which this build belongs.
    # !!! Should do this in a trigger.
    foreach my $m ($build->jobsetevalmembers->all) {
    $m->eval->update({nrsucceeded => undef});
    }