From 461c8767903c5bba99ddd0081e1ac3d8009329f5 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Tue, 9 Apr 2013 15:53:51 -0700 Subject: [PATCH] Upload all sphinx docs to docs-draft. Change-Id: Ia17448dfcd8b56b74a7fdba6b5e99493f850b7ae Reviewed-on: https://review.openstack.org/26551 Reviewed-by: Clark Boylan Approved: James E. Blair Tested-by: Jenkins --- .../files/jenkins_job_builder/config/python-jobs.yaml | 7 +++++++ modules/openstack_project/files/zuul/layout.yaml | 2 ++ 2 files changed, 9 insertions(+) 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$