project-config/jenkins/jobs/static-publish-jobs.yaml
Andreas Jaeger 1aec2939d0 Properly publish specs pages to top-level
The content is generated in specs/output and we need to publish it
directly in the specs directory. Move files around so that we can
publish to it since the scp publisher does not allow removal of paths.

Change-Id: Icd8af32b47c04ae207471007435c1dac45471a18
2015-01-22 20:50:41 +00:00

24 lines
530 B
YAML

# Jobs for static site publication
- job-template:
name: static-{name}-publish
node: 'bare-precise || bare-trusty'
builders:
- revoke-sudo
- gerrit-git-prep
- docs:
project: '{name}'
- static-publish-prep:
source: 'doc/build/html'
publishers:
- scp:
site: static.openstack.org
files:
- target: '{docroot}/'
source: '**'
keep-hierarchy: true
copy-after-failure: false
- console-log