Output nose html results to nose_results.html.
The **/*results.html glob matched more than just the nose results file in some cases. Change the nose output file to nose_results.html and the glob to **/*nose_results.html to be more specific. This should prevent unwanted files from being copied into the offsite logs. Change-Id: I3e5b3d140bb0a540d7bdcab84aa70ed324e100da Reviewed-on: https://review.openstack.org/11804 Approved: James E. Blair <corvus@inaugust.com> Reviewed-by: James E. Blair <corvus@inaugust.com> Tested-by: Jenkins
This commit is contained in:
parent
fe10f36a71
commit
63b209e1a0
@ -24,6 +24,7 @@ venv=py$version
|
|||||||
|
|
||||||
export NOSE_WITH_XUNIT=1
|
export NOSE_WITH_XUNIT=1
|
||||||
export NOSE_WITH_HTML_OUTPUT=1
|
export NOSE_WITH_HTML_OUTPUT=1
|
||||||
|
export NOSE_HTML_OUT_FILE='nose_results.html'
|
||||||
|
|
||||||
tox -e$venv
|
tox -e$venv
|
||||||
result=$?
|
result=$?
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
site: 'static.openstack.org'
|
site: 'static.openstack.org'
|
||||||
files:
|
files:
|
||||||
- target: 'logs/periodic/$JOB_NAME/$BUILD_NUMBER'
|
- target: 'logs/periodic/$JOB_NAME/$BUILD_NUMBER'
|
||||||
source: '**/*results.html'
|
source: '**/*nose_results.html'
|
||||||
keep-hierarchy: false
|
keep-hierarchy: false
|
||||||
copy-after-failure: true
|
copy-after-failure: true
|
||||||
- target: 'logs/periodic/$JOB_NAME/$BUILD_NUMBER'
|
- target: 'logs/periodic/$JOB_NAME/$BUILD_NUMBER'
|
||||||
@ -69,7 +69,7 @@
|
|||||||
site: 'static.openstack.org'
|
site: 'static.openstack.org'
|
||||||
files:
|
files:
|
||||||
- target: 'logs/periodic/$JOB_NAME/$BUILD_NUMBER'
|
- target: 'logs/periodic/$JOB_NAME/$BUILD_NUMBER'
|
||||||
source: '**/*results.html'
|
source: '**/*nose_results.html'
|
||||||
keep-hierarchy: false
|
keep-hierarchy: false
|
||||||
copy-after-failure: true
|
copy-after-failure: true
|
||||||
- target: 'logs/periodic/$JOB_NAME/$BUILD_NUMBER'
|
- target: 'logs/periodic/$JOB_NAME/$BUILD_NUMBER'
|
||||||
|
@ -116,7 +116,7 @@
|
|||||||
site: 'static.openstack.org'
|
site: 'static.openstack.org'
|
||||||
files:
|
files:
|
||||||
- target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER'
|
- target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER'
|
||||||
source: '**/*results.html'
|
source: '**/*nose_results.html'
|
||||||
keep-hierarchy: false
|
keep-hierarchy: false
|
||||||
copy-after-failure: true
|
copy-after-failure: true
|
||||||
- target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER'
|
- target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER'
|
||||||
@ -161,7 +161,7 @@
|
|||||||
site: 'static.openstack.org'
|
site: 'static.openstack.org'
|
||||||
files:
|
files:
|
||||||
- target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER'
|
- target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER'
|
||||||
source: '**/*results.html'
|
source: '**/*nose_results.html'
|
||||||
keep-hierarchy: false
|
keep-hierarchy: false
|
||||||
copy-after-failure: true
|
copy-after-failure: true
|
||||||
- target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER'
|
- target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER'
|
||||||
|
Loading…
Reference in New Issue
Block a user