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:
Clark Boylan 2012-08-22 08:58:00 -07:00 committed by Jenkins
parent fe10f36a71
commit 63b209e1a0
3 changed files with 5 additions and 4 deletions

View File

@ -24,6 +24,7 @@ venv=py$version
export NOSE_WITH_XUNIT=1
export NOSE_WITH_HTML_OUTPUT=1
export NOSE_HTML_OUT_FILE='nose_results.html'
tox -e$venv
result=$?

View File

@ -25,7 +25,7 @@
site: 'static.openstack.org'
files:
- target: 'logs/periodic/$JOB_NAME/$BUILD_NUMBER'
source: '**/*results.html'
source: '**/*nose_results.html'
keep-hierarchy: false
copy-after-failure: true
- target: 'logs/periodic/$JOB_NAME/$BUILD_NUMBER'
@ -69,7 +69,7 @@
site: 'static.openstack.org'
files:
- target: 'logs/periodic/$JOB_NAME/$BUILD_NUMBER'
source: '**/*results.html'
source: '**/*nose_results.html'
keep-hierarchy: false
copy-after-failure: true
- target: 'logs/periodic/$JOB_NAME/$BUILD_NUMBER'

View File

@ -116,7 +116,7 @@
site: 'static.openstack.org'
files:
- target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER'
source: '**/*results.html'
source: '**/*nose_results.html'
keep-hierarchy: false
copy-after-failure: true
- target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER'
@ -161,7 +161,7 @@
site: 'static.openstack.org'
files:
- target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER'
source: '**/*results.html'
source: '**/*nose_results.html'
keep-hierarchy: false
copy-after-failure: true
- target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER'