Pass failing dependent builds to buildFinished

[?]
May 8, 2013, 4:54 PM
4SJPAAJXSRMY4UWTJPXAHTLJT2CHHQUEZDNBAEOCMHOAOPEWPBAAC

Dependencies

  • [2] BLVQGJ4L Use OO-style plugins
  • [3] PMNWRTGJ Add multiple output support
  • [4] IUCHXUJP Use "can" to check whether a plugin supports buildFinished
  • [5] KA45EBF5 * Send email if a build fails.
  • [6] 7YBYT2LQ
  • [7] OG7BEM57
  • [8] MNZ67UXO If a build step fail, immediately fail all queued builds that depend on it
  • [9] 5EQYVRWE Add a plugin mechanism
  • [10] AS5PAYLI
  • [*] BD3GRK4B * Get rid of "positive failures" and separate log phases.
  • [*] 37R34XJO * Negative caching: don't perform a build if a dependency already

Change contents

  • replacement in src/script/hydra-build at line 40
    [3.266][3.266:301]()
    my ($drvPath, $errorMsg) = @_;
    [3.266]
    [3.301]
    my ($drvPath, $errorMsg, $dependents) = @_;
  • edit in src/script/hydra-build at line 76
    [3.1554]
    [3.1554]
    push @$dependents, $d;
  • replacement in src/script/hydra-build at line 88
    [3.164][2.633:681]()
    $plugin->buildFinished($build, []);
    [3.164]
    [3.226]
    $plugin->buildFinished($build, $dependents);
  • edit in src/script/hydra-build at line 115
    [12.3622]
    [13.3433]
    my $dependents = [];
  • replacement in src/script/hydra-build at line 211
    [3.1708][3.1708:1765]()
    failDependents($drvPathStep, $errorMsg);
    [3.1708]
    [3.649]
    failDependents($drvPathStep, $errorMsg, $dependents);
  • replacement in src/script/hydra-build at line 310
    [3.874][3.333:357]()
    notify($build, []);
    [3.874]
    [3.6647]
    notify($build, $dependents);