diff --git a/modules/jenkins/files/slave_scripts/run-tox.sh b/modules/jenkins/files/slave_scripts/run-tox.sh index f969686edf..4bbfc2c39b 100755 --- a/modules/jenkins/files/slave_scripts/run-tox.sh +++ b/modules/jenkins/files/slave_scripts/run-tox.sh @@ -44,6 +44,8 @@ if [ -f ".testrepository/0" ] then cp .testrepository/0 ./subunit_log.txt /usr/local/jenkins/slave_scripts/subunit2html.py ./subunit_log.txt testr_results.html + gzip -9 ./subunit_log.txt + gzip -9 ./testr_results.html fi sudo /usr/local/jenkins/slave_scripts/jenkins-sudo-grep.sh post diff --git a/modules/openstack_project/files/jenkins_job_builder/config/python-jobs.yaml b/modules/openstack_project/files/jenkins_job_builder/config/python-jobs.yaml index fb3f6880ac..2a03b9ce91 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/python-jobs.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/python-jobs.yaml @@ -81,7 +81,7 @@ keep-hierarchy: false copy-after-failure: true - target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER' - source: '**/*testr_results.html' + source: '**/*testr_results.html.gz' keep-hierarchy: false copy-after-failure: true - target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER' @@ -89,7 +89,7 @@ keep-hierarchy: false copy-after-failure: true - target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER' - source: '**/*subunit_log.txt' + source: '**/*subunit_log.txt.gz' keep-hierarchy: false copy-after-failure: true - console-log @@ -154,7 +154,7 @@ keep-hierarchy: false copy-after-failure: true - target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER' - source: '**/*testr_results.html' + source: '**/*testr_results.html.gz' keep-hierarchy: false copy-after-failure: true - target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER' @@ -162,7 +162,7 @@ keep-hierarchy: false copy-after-failure: true - target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER' - source: '**/*subunit_log.txt' + source: '**/*subunit_log.txt.gz' keep-hierarchy: false copy-after-failure: true - console-log