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:
parent
073a93ce31
commit
16bb62e795
@ -116,8 +116,8 @@
|
|||||||
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: '**/*results.html'
|
||||||
keep-hierarchy: true
|
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'
|
||||||
copy-console: true
|
copy-console: true
|
||||||
@ -161,8 +161,8 @@
|
|||||||
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: '**/*results.html'
|
||||||
keep-hierarchy: true
|
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'
|
||||||
copy-console: true
|
copy-console: true
|
||||||
|
Loading…
Reference in New Issue
Block a user