Find nosetests result.html file in sub dirs.

Some projects run nosetests in a subdir of the workspace directory.
When they do this the results file is output in that sub dir. Find
results.html in these cases when SCPing using the ** glob.

Change-Id: Ic83cc69881aba3c53b027317ab5e525d028bb95e
Reviewed-on: https://review.openstack.org/11774
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-21 15:46:15 -07:00 committed by Jenkins
parent 073a93ce31
commit 16bb62e795

View File

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