removed debug print, added last 50 lines in failure emails

[?]
Jan 6, 2010, 1:57 PM
BOFOHCPK7UVE3TUEL4NNOQXN2EQGN6N3ITJWTCOJK5Q6MSHYSOSQC

Dependencies

  • [2] FYO6NECE hydra
  • [3] 7YBYT2LQ
  • [4] MPGVCHVF * Fix an apparent incompatibility with recent DBIx::Class.
  • [5] A63IHCMX * Register GC roots properly.
  • [6] QUTWJR7P * Include more info in notification emails.
  • [7] G5A7TZVI * Don't discard old build steps when restarting a build.
  • [8] KA45EBF5 * Send email if a build fails.
  • [9] 2IEFMER5 * Add --fallback to prevent problems with obsolete substitutes.
  • [10] ZDNXMJ3J * Typo.
  • [11] CLJQCY2X * Store info about all the build actions and allow them to be

Change contents

  • edit in src/script/hydra_build.pl at line 148
    [3.1698]
    [3.807]
    my $loglines = 50;
    my $logfile = $build->resultInfo->logfile;
    my $logtext = `tail -$loglines $logfile` if -e $logfile;
  • edit in src/script/hydra_build.pl at line 160
    [3.1087]
    [3.1087]
    . ($build->resultInfo->buildstatus != 0 ? "\nThe last $loglines lines of the build log are shown at the bottom of this email.\n" : "")
  • replacement in src/script/hydra_build.pl at line 172
    [3.2044][3.1102:1153](),[3.1102][3.1102:1153]()
    . "Regards,\n\nThe Hydra build daemon.\n";
    [3.2044]
    [2.4697]
    . "Regards,\n\nThe Hydra build daemon.\n"
    . ($build->resultInfo->buildstatus != 0 ? "\n---\n$logtext" : "");
  • replacement in src/script/hydra_build.pl at line 225
    [3.1163][2.4905:4924]()
    print STDERR $cmd;
    [3.1163]
    [3.4]