diff --git a/modules/jenkins/files/slave_scripts/run-tox.sh b/modules/jenkins/files/slave_scripts/run-tox.sh index 3f4a9f8ce3..2197580842 100755 --- a/modules/jenkins/files/slave_scripts/run-tox.sh +++ b/modules/jenkins/files/slave_scripts/run-tox.sh @@ -23,6 +23,7 @@ fi venv=py$version export NOSE_WITH_XUNIT=1 +export NOSE_WITH_HTML_OUTPUT=1 tox -e$venv result=$? 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 9017d11e34..0327858815 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 @@ -112,7 +112,16 @@ - python26 publishers: - - console-log + - scp: + site: 'static.openstack.org' + files: + - target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER' + source: 'results.html' + keep-hierarchy: true + copy-after-failure: true + - target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER' + copy-console: true + copy-after-failure: true # >= precise does not have python2.6 node: oneiric @@ -135,7 +144,7 @@ artifactNumToKeep: -1 parameters: - - label: + - label: name: NODE_LABEL description: Label of node to use for this build default: '{node}' @@ -148,7 +157,16 @@ - python27 publishers: - - console-log + - scp: + site: 'static.openstack.org' + files: + - target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER' + source: 'results.html' + keep-hierarchy: true + copy-after-failure: true + - target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER' + copy-console: true + copy-after-failure: true node: '{node}'