From 051e866bcf34e06e2697f86d347aa65859af1ed1 Mon Sep 17 00:00:00 2001 From: Sergio Ahumada Date: Mon, 21 Mar 2011 09:42:43 +0100 Subject: BM2: Improve robustness of bm2_result_watcher.pl Now we are compressing the backup files Task-number: QTQAINFRA-40 --- scripts/bm2_result_watcher.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/bm2_result_watcher.pl b/scripts/bm2_result_watcher.pl index cbe5f33..24094e0 100755 --- a/scripts/bm2_result_watcher.pl +++ b/scripts/bm2_result_watcher.pl @@ -95,6 +95,7 @@ until ($dieNow) { logEntry("Couldn't execute: $@"); } else { system("/bin/cp $workdir$f $tmpdir") == 0 or logEntry("Couldn't execute `cp': " . $workdir . $f); + system("/bin/gzip $tmpdir$f") == 0 or logEntry("Couldn't execute `gzip': " . $tmpdir . $f); system("/bin/rm -f $workdir$f") == 0 or logEntry("Couldn't execute `rm': " . $workdir . $f); logEntry("Done with result file: uploadresults.py --db bm --host $hostname --platform $platform --branch $branch --sha1 $sha1 --file $workdir$f"); } -- cgit v1.2.3