project-config/jenkins/jobs/infra-publish-jobs.yaml

61 lines
1.3 KiB
YAML

- job-template:
name: '{name}-infra-docs'
node: 'ubuntu-trusty'
builders:
- print-template-name:
template-name: "{template-name}"
- gerrit-git-prep
- install-distro-packages
- revoke-sudo
- docs
publishers:
- console-log
- ftp:
site: '{doc-publisher-site}'
source: 'doc/build/html/**'
target: 'infra/{doc-publisher-folder}'
remove-prefix: 'doc/build/html'
excludes: ''
- job:
name: publish-infra-docs-index
description: Render and publish the infra docs index.
node: ubuntu-trusty
builders:
- gerrit-git-prep
- install-distro-packages
- revoke-sudo
- tox:
envlist: infra-docs
publishers:
- ftp:
site: docs.openstack.org
source: 'docs-site/output/index.html'
target: '/infra/'
remove-prefix: 'docs-site/output/'
- console-log
- job:
name: gate-infra-docs-index
description: Render the infra docs index without publishing it.
node: ubuntu-trusty
builders:
- gerrit-git-prep
- install-distro-packages
- revoke-sudo
- tox:
envlist: infra-docs
publishers:
- console-log
- job-group:
name: infra-publish-jobs
jobs:
- '{name}-infra-docs'