using backquote as argument resulted in only first line as first argument to removeAsciiEscapes

[?]
Jun 10, 2011, 10:48 AM
WAZFSDSLS4XBU6I44LCEOCGGWDGAWJRBOO4QMPQHQSMPQIJDLVOAC

Dependencies

  • [2] PY4WQF5G remove ascii escapes from log in tail page and emails
  • [3] 2R7GHSA4 * hydra: added initial version of build graph
  • [4] QUTWJR7P * Include more info in notification emails.
  • [5] BOFOHCPK removed debug print, added last 50 lines in failure emails
  • [6] NZI7E2E3 * hydra: handle case where logfile is empty
  • [7] KSD75RNJ Hydra/18: fixed uninitialized value error when logfile is null
  • [8] ZEEZRG2E clean up build page for build that failed with result
  • [9] KA45EBF5 * Send email if a build fails.
  • [*] LBNVQXUB * Build the /build stuff in a separate controller.
  • [*] 7YBYT2LQ

Change contents

  • replacement in src/lib/Hydra/Controller/Build.pm at line 58
    [3.168][2.0:64]()
    $c->stash->{logtext} = removeAsciiEscapes(`tail -n 50 $path`);
    [3.168]
    [3.222]
    my $logtext = `tail -n 50 $path`;
    $c->stash->{logtext} = removeAsciiEscapes($logtext);
  • replacement in src/script/hydra_build.pl.in at line 159
    [3.71][2.258:386]()
    my $logtext = defined $logfile && -e $logfile ? removeAsciiEscapes(`tail -$loglines $logfile`) : "No logfile available.\n";
    [3.71]
    [3.807]
    my $logtext = defined $logfile && -e $logfile ? `tail -$loglines $logfile` : "No logfile available.\n";
    $logtext = removeAsciiEscapes($logtext);