Merge "Archive the raw testrepository log"

This commit is contained in:
Jenkins 2017-01-17 23:04:26 +00:00 committed by Gerrit Code Review
commit da1755d610
1 changed files with 4 additions and 0 deletions

View File

@ -51,6 +51,10 @@ function generate_testr_results {
$SCRIPTS_DIR/subunit2html ./testrepository.subunit testr_results.html
gzip -9 ./testrepository.subunit
gzip -9 ./testr_results.html
# Archive the raw testrepository file to debug subunit-1to2
# ValueError: Length too long: 7341892 errors
cp .testrepository/0 ./testrepository.0
gzip -9 ./testrepository.0
sudo mv ./*.gz /opt/stack/logs/
fi
}