project-config/jenkins/jobs/api-jobs.yaml
Andreas Jaeger 1f0c37654a Rework api-site publishing
Publishing is now only done on developer.openstack.org and not anymore
on docs.openstack.org:
* Remove api-site-tox-doc-publishdocs
* Create new job openstack-api-ref-publish-lang to publish translated
  documents to developer.o.o.
* Remove api-site-tox-doc-publishlang job (published translated
  documents to docs.o.o). For this, we need to replace the
  openstack-doc-translation template with individual jobs.

Change-Id: Id9d9c378c29e5601fe994b46ede19ddae61cfb53
2015-10-09 10:20:39 +02:00

78 lines
1.6 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