diff --git a/modules/openstack_project/files/jenkins_job_builder/config/python-jobs.yaml b/modules/openstack_project/files/jenkins_job_builder/config/python-jobs.yaml index 5aa330a808..b58ab246c1 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/python-jobs.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/python-jobs.yaml @@ -212,6 +212,13 @@ publishers: - console-log + - scp: + site: 'static.openstack.org' + files: + - target: 'docs-draft/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER/' + source: 'doc/build/html/**' + keep-hierarchy: true + copy-after-failure: true node: '{node}' diff --git a/modules/openstack_project/files/zuul/layout.yaml b/modules/openstack_project/files/zuul/layout.yaml index 2975a3d944..0e877706bc 100644 --- a/modules/openstack_project/files/zuul/layout.yaml +++ b/modules/openstack_project/files/zuul/layout.yaml @@ -114,6 +114,8 @@ jobs: - name: gate-openstack-cli-guide success-pattern: http://docs-draft.openstack.org/{job.name}/{pipeline.name}/{build.number}/cli/quick-start branch: ^(?!stable/(diablo|essex)).*$ + - name: gate-.*-docs + success-pattern: http://docs-draft.openstack.org/{change.number}/{change.patchset}/{pipeline.name}/{job.name}/{build.number}/ - name: gate-openstack-manuals-validate voting: false - name: ^gate-.*-requirements$