Move devstack testr log copying to macros

So that as each job moves to testr, we don't have messy log stanzas
in the job definitions.

Change-Id: If7a2b5a635c2f41cf7445b6577a0c7bed072eb60
This commit is contained in:
James E. Blair 2013-07-19 09:54:19 -07:00
parent 50f5389111
commit 013d82b3e8
2 changed files with 16 additions and 11 deletions

View File

@ -95,17 +95,6 @@
publishers: publishers:
- devstack-logs - devstack-logs
- console-log - console-log
- scp:
site: 'static.openstack.org'
files:
- target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER'
source: '**/testr_results.html.gz'
keep-hierarchy: false
copy-after-failure: true
- target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER'
source: '**/subunit_log.txt.gz'
keep-hierarchy: false
copy-after-failure: true
- devstack-complete - devstack-complete
- job: - job:

View File

@ -269,6 +269,14 @@
source: 'logs/**' source: 'logs/**'
keep-hierarchy: true keep-hierarchy: true
copy-after-failure: true copy-after-failure: true
- target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER'
source: '**/testr_results.html.gz'
keep-hierarchy: false
copy-after-failure: true
- target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER'
source: '**/subunit_log.txt.gz'
keep-hierarchy: false
copy-after-failure: true
- publisher: - publisher:
name: devstack-logs-periodic name: devstack-logs-periodic
@ -280,6 +288,14 @@
source: 'logs/**' source: 'logs/**'
keep-hierarchy: true keep-hierarchy: true
copy-after-failure: true copy-after-failure: true
- target: 'logs/periodic/$JOB_NAME/$BUILD_NUMBER'
source: '**/testr_results.html.gz'
keep-hierarchy: false
copy-after-failure: true
- target: 'logs/periodic/$JOB_NAME/$BUILD_NUMBER'
source: '**/subunit_log.txt.gz'
keep-hierarchy: false
copy-after-failure: true
- publisher: - publisher:
name: devstack-complete name: devstack-complete