diff --git a/jenkins/jobs/openstack-publish-jobs.yaml b/jenkins/jobs/openstack-publish-jobs.yaml index 99d38a096d..f87470aa8f 100644 --- a/jenkins/jobs/openstack-publish-jobs.yaml +++ b/jenkins/jobs/openstack-publish-jobs.yaml @@ -34,6 +34,29 @@ node: 'proposal' +# Publish releasenotes to docs.openstack.org/releasenotes/. This is +# always published from master branch. +- job-template: + name: '{name}-releasenotes' + node: 'bare-precise || bare-trusty' + + builders: + - revoke-sudo + - branch-git-prep: + branch: master + - tox: + envlist: 'releasenotes' + + publishers: + - ftp: + site: '{doc-publisher-site}' + source: 'releasenotes/build/html/**' + target: 'releasenotes/{name}' + remove-prefix: 'releasenotes/build/html' + excludes: '' + - console-log + + - job-group: name: openstack-publish-jobs jobs: @@ -46,3 +69,4 @@ jobs: - 'gate-{name}-tox-{envlist}': envlist: releasenotes + - '{name}-releasenotes' diff --git a/zuul/layout.yaml b/zuul/layout.yaml index 1f87707ec0..91f7f596ea 100644 --- a/zuul/layout.yaml +++ b/zuul/layout.yaml @@ -466,6 +466,8 @@ project-templates: - name: release-notes-jobs check: - 'gate-{name}-tox-releasenotes' + post: + - '{name}-releasenotes' - name: openstack-server-release-jobs-constraints pre-release: