
The Docs Team has determined that a developer.openstack.org URL is more discoverable than api.openstack.org for API, CLI and SDK content. A new site and Jenkins publish target have been created for this. Change-Id: I2a3fcc8ccf0622334a78c27252a94f38d270e4f7
91 lines
1.9 KiB
YAML
91 lines
1.9 KiB
YAML
- job-template:
|
|
name: '{name}-tox-doc-{envlist}'
|
|
|
|
properties:
|
|
- inject:
|
|
script-file: /usr/local/jenkins/slave_scripts/docbook-properties.sh
|
|
properties-file: gerrit-doc.properties
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 40
|
|
fail: true
|
|
- timestamps
|
|
|
|
builders:
|
|
- revoke-sudo
|
|
- 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:
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- tox:
|
|
envlist: 'publishdocs-api'
|
|
github-org: 'openstack'
|
|
project: 'api-site'
|
|
|
|
publishers:
|
|
- console-log
|
|
- upload-doc-build-results
|
|
- ftp:
|
|
site: developer.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:
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
|
|
publishers:
|
|
- ftp:
|
|
site: developer.openstack.org
|
|
source: 'www/**'
|
|
target: ''
|
|
remove-prefix: 'www/'
|
|
excludes: ''
|
|
- console-log
|
|
|
|
|
|
- job:
|
|
name: compute-api-v2.0-wadl
|
|
node: bare-precise
|
|
|
|
builders:
|
|
- revoke-sudo
|
|
- 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
|
|
|