Jeremy Stanley 40c54efd12 Stop using Jenkins SCM plug-in
This depends on slave script support and should not be approved
until I86c77695d8c374c94932664026ab7a541686ae74 has a chance to
appear in all current nodepool images.

* macros.yaml: Add a branch-git-prep builder which passes a BRANCH
environment variable into the gerrit-git-prep.sh slave script.

* python-bitrot-jobs.yaml: Pass the {branch} parameter to the
branch-git-prep builder to specify the branch on which to run stable
bitrot jobs, instead of using the SCM plug-in.

* translation-jobs.yaml
* zuul.yaml: Pass master as the branch for the branch-git-prep
builder instead of using the SCM plug-in.

Change-Id: Ied8b4c111172b654cc90938221690651a5b458df
2014-04-03 22:12:44 +00:00

83 lines
1.5 KiB
YAML

- job-template:
name: 'periodic-{name}-python26{branch-name}'
wrappers:
- timeout:
timeout: 40
fail: true
- 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:
- timeout:
timeout: 40
fail: true
- 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:
- timeout:
timeout: 40
fail: true
- 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
jobs:
- 'periodic-{name}-python26{branch-name}'
- 'periodic-{name}-python27{branch-name}'
- 'periodic-{name}-docs{branch-name}'