diff options
author | Sergio Ahumada <sergio.ahumada@nokia.com> | 2011-03-21 09:42:43 +0100 |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2011-03-21 09:42:43 +0100 |
commit | 051e866bcf34e06e2697f86d347aa65859af1ed1 (patch) | |
tree | c0dc4b616b4db58c7667ed6819f9c2a0eef53597 | |
parent | dd0385c7e9579570c7789bcfb0983fe789a36a53 (diff) |
BM2: Improve robustness of bm2_result_watcher.pl
Now we are compressing the backup files
Task-number: QTQAINFRA-40
-rwxr-xr-x | scripts/bm2_result_watcher.pl | 1 |
1 files changed, 1 insertions, 0 deletions
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"); } |