project-config/jenkins/jobs/api-jobs.yaml
Anne Gentle 4eb2199af0 Builds and publishes Compute API Guide
- Want to publish to developer.openstack.org
- Compute API Guide needs to have directory structure determined
  in https://review.openstack.org/#/c/230186/.

Change-Id: Ibc774d24f2bcc63902f67e2540497da838f15d18
Depends-on: Ic060a1e79e4b2f8695cb788ff4df018e0cfd3286
2015-11-09 13:00:10 -06:00

112 lines
2.4 KiB
YAML

- job-template:
name: '{name}-tox-doc-{envlist}'
wrappers:
- build-timeout:
timeout: 40
- timestamps
builders:
- revoke-sudo
- gerrit-git-prep
- tox:
envlist: '{envlist}'
publishers:
- console-log
- upload-to-docs-site
- upload-doc-build-results
node: '{node}'
- job:
name: openstack-api-ref
node: 'bare-precise || bare-trusty'
builders:
- revoke-sudo
- gerrit-git-prep
- tox:
envlist: 'publishdocs-api'
publishers:
- console-log
- upload-doc-build-results
- ftp:
site: developer.openstack.org
source: 'publish-docs/api-ref/**'
target: '/'
remove-prefix: 'publish-docs/api-ref/'
- job:
name: openstack-api-ref-publish-lang
node: 'bare-precise || bare-trusty'
builders:
- revoke-sudo
- gerrit-git-prep
- tox:
envlist: 'publishlang-api'
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 || bare-trusty'
builders:
- revoke-sudo
- gerrit-git-prep
publishers:
- ftp:
site: developer.openstack.org
source: 'www/**'
target: ''
remove-prefix: 'www/'
excludes: ''
- console-log
- job:
name: gate-compute-api-guide
description: Build and draft the Compute API Guide from nova source.
node: 'bare-precise || bare-trusty'
builds:
- revoke-sudo
- gerrit-git-prep
- tox:
envlist: 'api-guide'
publishers:
- console-log
- upload-api-guide-draft
- job:
name: compute-api-guide
description: Build and publish the Compute API Guide from nova source.
node: 'bare-precise || bare-trusty'
builds:
- revoke-sudo
- gerrit-git-prep
- tox:
envlist: 'api-guide'
publishers:
- ftp:
site: developer.openstack.org
source: 'doc/source/api-guide/build/html/**'
target: 'api-guide/compute'
remove-prefix: 'doc/source/api-guide/build/html/'