ef40ea5b5d
We can't guarantee that with 8 jenkins masters anymore anyway, and this can cause problems if Jenkins gets stuck on a job; all other jobs scheduled on the same master will wait for it. Change-Id: Ifb20b6819e5f27da449f2a46d463a29b43695f18
82 lines
1.7 KiB
YAML
82 lines
1.7 KiB
YAML
- job-template:
|
|
name: '{name}-tox-doc-{envlist}'
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 40
|
|
fail: true
|
|
- timestamps
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- tox:
|
|
envlist: '{envlist}'
|
|
github-org: '{github-org}'
|
|
project: '{name}'
|
|
|
|
publishers:
|
|
- console-log
|
|
- upload-to-docs-site
|
|
- upload-doc-build-results
|
|
|
|
node: '{node}'
|
|
|
|
|
|
- job:
|
|
name: openstack-api-ref
|
|
node: bare-precise
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- tox:
|
|
envlist: 'publishdocs-api'
|
|
github-org: 'openstack'
|
|
project: 'api-site'
|
|
|
|
publishers:
|
|
- console-log
|
|
- upload-doc-build-results
|
|
- ftp:
|
|
site: api.openstack.org
|
|
source: 'publish-docs/api-ref/**'
|
|
target: '/'
|
|
remove-prefix: 'publish-docs/api-ref/'
|
|
|
|
|
|
# in zuul/layout.yaml specified to only run against master branch.
|
|
# this copies static files from www
|
|
- job:
|
|
name: openstack-api-site
|
|
node: bare-precise
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
|
|
publishers:
|
|
- ftp:
|
|
site: api.openstack.org
|
|
source: 'www/**'
|
|
target: ''
|
|
remove-prefix: 'www/'
|
|
excludes: ''
|
|
- console-log
|
|
|
|
|
|
- job:
|
|
name: compute-api-v2.0-wadl
|
|
node: bare-precise
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- shell: /usr/local/jenkins/slave_scripts/run-xmllint.sh openstack-compute-api-2/src/os-compute-2.wadl
|
|
|
|
publishers:
|
|
- ftp:
|
|
site: docs.openstack.org
|
|
source: 'target/**'
|
|
target: 'api/openstack-compute/2/wadl/'
|
|
remove-prefix: 'target/'
|
|
excludes: '**/*.xml,**/null*'
|
|
- console-log
|
|
|