system-config/modules/openstack_project/files/jenkins_job_builder/config/python-bitrot-jobs.yaml
Khai Do fd4d79542e Switch jobs to use the build-timeout macro
This change configures all jobs to use the new build-timeout macro.
This macro enables the following:
1. exports a 'BUILD_TIMEOUT' environment variable which is set to the
   timeout value.
2. sets the build to a failed state when a timeout occurs.

Change-Id: Iebda7cccc2f808805a9b2d744c11892d1bf3bdef
2014-06-29 08:26:47 -07:00

80 lines
1.5 KiB
YAML

- job-template:
name: 'periodic-{name}-python26{branch-name}'
wrappers:
- build-timeout:
timeout: 40
- timestamps
builders:
- revoke-sudo
- branch-git-prep:
branch: '{branch}'
- python26:
github-org: '{github-org}'
project: '{name}'
- assert-no-extra-files
publishers:
- test-results
- console-log
node: bare-centos6
- job-template:
name: 'periodic-{name}-python27{branch-name}'
wrappers:
- build-timeout:
timeout: 40
- timestamps
builders:
- revoke-sudo
- branch-git-prep:
branch: '{branch}'
- python27:
github-org: '{github-org}'
project: '{name}'
- assert-no-extra-files
publishers:
- test-results
- console-log
node: '{node}'
- job-template:
name: 'periodic-{name}-docs{branch-name}'
wrappers:
- build-timeout:
timeout: 40
- timestamps
builders:
- revoke-sudo
- branch-git-prep:
branch: '{branch}'
- docs:
github-org: '{github-org}'
project: '{name}'
publishers:
- console-log
node: '{node}'
- job-group:
name: python-havana-bitrot-jobs
branch: 'stable/havana'
branch-name: '-havana'
node: 'bare-precise || bare-trusty'
jobs:
- 'periodic-{name}-python26{branch-name}'
- 'periodic-{name}-python27{branch-name}'
- 'periodic-{name}-docs{branch-name}'