summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtest-bugzilla-files/zip.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/test-bugzilla-files/zip.sh b/test-bugzilla-files/zip.sh
index b35117f..4808b43 100755
--- a/test-bugzilla-files/zip.sh
+++ b/test-bugzilla-files/zip.sh
@@ -19,8 +19,10 @@ num_of_excluded_file=$(< "/srv/crashtestdata/odfundiff_exclude_list.txt" wc -l)
previous_hash="$(cat /srv/crashtestdata/previous/hash.txt)"
rm -rf /srv/crashtestdata/logs/$SHA/odfundiff
cd /srv/crashtestdata/current/srv/crashtestdata/files/
+rm -f odfundiff.zip
zip -r -q odfundiff.zip */*.odfundiff
mv odfundiff.zip /srv/crashtestdata/logs/$SHA/.
+rm -f validation.zip
zip -r -q validation.zip */*.log
mv validation.zip /srv/crashtestdata/logs/$SHA/.
cd /srv/crashtestdata/logs/$SHA
@@ -33,6 +35,7 @@ cp ../exportCrashes.csv ../importCrash.csv ../odfundiff.csv ../validationErrors.
python analyze_logs.py
cp exportCrashes.csv importCrash.csv odfundiff.csv validationErrors.csv ../.
cd ..
+rm -f current.zip
zip -r current.zip $SHA/*
if [ -z "$CRASHTEST_NO_UPLOAD" ]; then
scp current.zip upload@gimli.documentfoundation.org:/srv/www/dev-builds.libreoffice.org/crashtest/.