project-config/jenkins/jobs/api-jobs.yaml
Anita Kuno 1d21cd635f Reorganizes project-config
This repo was created from filter branching the openstack-infra/
config repo. This process brought a lot of cruft with it in the
form of directories that we no longer need. This patch removes
that cruft so we begin with a tidier repo.

Change-Id: Ibffad1b11c0c5f84eedfb0365369f60c4961a0f3
2014-09-25 11:41:04 -04:00

60 lines
1.2 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/'
# 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