2014-11-07 13:48:23 +00:00
|
|
|
# Jobs for static site publication
|
2014-11-02 15:54:51 +00:00
|
|
|
|
2014-11-07 13:48:23 +00:00
|
|
|
- job-template:
|
|
|
|
name: static-{name}-publish
|
2014-11-02 15:54:51 +00:00
|
|
|
node: 'bare-precise || bare-trusty'
|
|
|
|
|
|
|
|
builders:
|
|
|
|
- revoke-sudo
|
|
|
|
- gerrit-git-prep
|
|
|
|
- docs:
|
2014-11-07 13:48:23 +00:00
|
|
|
project: '{name}'
|
2015-01-21 20:08:44 +01:00
|
|
|
- static-publish-prep:
|
|
|
|
source: 'doc/build/html'
|
2014-11-02 15:54:51 +00:00
|
|
|
|
|
|
|
publishers:
|
|
|
|
- scp:
|
|
|
|
site: static.openstack.org
|
|
|
|
files:
|
2014-11-07 13:48:23 +00:00
|
|
|
- target: '{docroot}/'
|
2014-11-02 15:54:51 +00:00
|
|
|
source: '**'
|
|
|
|
keep-hierarchy: true
|
|
|
|
copy-after-failure: false
|
|
|
|
- console-log
|