diff --git a/modules/jenkins/files/slave_scripts/run-cover.sh b/modules/jenkins/files/slave_scripts/run-cover.sh index 7693a922ed..d0806eacbb 100755 --- a/modules/jenkins/files/slave_scripts/run-cover.sh +++ b/modules/jenkins/files/slave_scripts/run-cover.sh @@ -7,6 +7,8 @@ # what packages we ended up testing. # +export NOSE_COVER_HTML=1 + venv=cover tox -e$venv 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 fa588d844f..309e7892e9 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 @@ -22,8 +22,16 @@ - coverage publishers: - - coverage - - console-log-post + - scp: + site: 'static.openstack.org' + files: + - target: 'logs/periodic/$JOB_NAME/$BUILD_NUMBER' + source: 'cover/**' + keep-hierarchy: true + copy-after-failure: true + - target: 'logs/periodic/$JOB_NAME/$BUILD_NUMBER' + copy-console: true + copy-after-failure: true node: '{node}'