63b209e1a0
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
142 lines
2.9 KiB
YAML
142 lines
2.9 KiB
YAML
- job-template:
|
|
name: 'periodic-{name}-python26-{branch-name}'
|
|
concurrent: true
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 30
|
|
fail: true
|
|
- timestamps
|
|
|
|
logrotate:
|
|
daysToKeep: 28
|
|
numToKeep: -1
|
|
artifactDaysToKeep: -1
|
|
artifactNumToKeep: -1
|
|
|
|
triggers:
|
|
- timed: '@daily'
|
|
|
|
builders:
|
|
- python26
|
|
|
|
publishers:
|
|
- scp:
|
|
site: 'static.openstack.org'
|
|
files:
|
|
- target: 'logs/periodic/$JOB_NAME/$BUILD_NUMBER'
|
|
source: '**/*nose_results.html'
|
|
keep-hierarchy: false
|
|
copy-after-failure: true
|
|
- target: 'logs/periodic/$JOB_NAME/$BUILD_NUMBER'
|
|
copy-console: true
|
|
copy-after-failure: true
|
|
|
|
scm:
|
|
- git:
|
|
url: 'git://github.com/{github-org}/{name}.git'
|
|
branches:
|
|
- 'origin/{branch}'
|
|
|
|
# >= precise does not have python2.6
|
|
node: oneiric
|
|
|
|
|
|
- job-template:
|
|
name: 'periodic-{name}-python27-{branch-name}'
|
|
concurrent: true
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 30
|
|
fail: true
|
|
- timestamps
|
|
|
|
logrotate:
|
|
daysToKeep: 28
|
|
numToKeep: -1
|
|
artifactDaysToKeep: -1
|
|
artifactNumToKeep: -1
|
|
|
|
triggers:
|
|
- timed: '@daily'
|
|
|
|
builders:
|
|
- python27
|
|
|
|
publishers:
|
|
- scp:
|
|
site: 'static.openstack.org'
|
|
files:
|
|
- target: 'logs/periodic/$JOB_NAME/$BUILD_NUMBER'
|
|
source: '**/*nose_results.html'
|
|
keep-hierarchy: false
|
|
copy-after-failure: true
|
|
- target: 'logs/periodic/$JOB_NAME/$BUILD_NUMBER'
|
|
copy-console: true
|
|
copy-after-failure: true
|
|
|
|
scm:
|
|
- git:
|
|
url: 'git://github.com/{github-org}/{name}.git'
|
|
branches:
|
|
- 'origin/{branch}'
|
|
|
|
node: '{node}'
|
|
|
|
|
|
- job-template:
|
|
name: 'periodic-{name}-docs-{branch-name}'
|
|
concurrent: true
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 30
|
|
fail: true
|
|
- timestamps
|
|
|
|
logrotate:
|
|
daysToKeep: 28
|
|
numToKeep: -1
|
|
artifactDaysToKeep: -1
|
|
artifactNumToKeep: -1
|
|
|
|
triggers:
|
|
- timed: '@daily'
|
|
|
|
builders:
|
|
- docs
|
|
|
|
publishers:
|
|
- console-log-periodic
|
|
|
|
scm:
|
|
- git:
|
|
url: 'git://github.com/{github-org}/{name}.git'
|
|
branches:
|
|
- 'origin/{branch}'
|
|
|
|
node: '{node}'
|
|
|
|
|
|
- job-group:
|
|
name: python-diablo-bitrot-jobs
|
|
branch: 'stable/diablo'
|
|
branch-name: 'stable-diablo'
|
|
node: oneiric
|
|
jobs:
|
|
- 'periodic-{name}-python26-{branch-name}'
|
|
- 'periodic-{name}-python27-{branch-name}'
|
|
- 'periodic-{name}-docs-{branch-name}'
|
|
|
|
|
|
- job-group:
|
|
name: python-essex-bitrot-jobs
|
|
branch: 'stable/essex'
|
|
branch-name: 'stable-essex'
|
|
node: precise
|
|
jobs:
|
|
- 'periodic-{name}-python26-{branch-name}'
|
|
- 'periodic-{name}-python27-{branch-name}'
|
|
- 'periodic-{name}-docs-{branch-name}'
|