182a181ee2
Not sure where I got the www from, but that's not needed on the FTP publisher target for docs.openstack.org content. Change-Id: Ia18848117520f8e513b8028259dcb7c0aca36b10 Reviewed-on: https://review.openstack.org/33876 Reviewed-by: Monty Taylor <mordred@inaugust.com> Approved: James E. Blair <corvus@inaugust.com> Reviewed-by: James E. Blair <corvus@inaugust.com> Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Tested-by: Jenkins
40 lines
916 B
YAML
40 lines
916 B
YAML
# simply copy the contents of the repository to the server, no building needed
|
|
- job:
|
|
name: infra-publications-publish
|
|
concurrent: false
|
|
node: precise
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
|
|
publishers:
|
|
- ftp:
|
|
site: docs.openstack.org
|
|
source: '**'
|
|
target: 'infra/publications/${ZUUL_BRANCH}/'
|
|
remove-prefix: ''
|
|
excludes: ''
|
|
- console-log-post
|
|
|
|
- job:
|
|
name: infra-publications-publish-index
|
|
concurrent: false
|
|
node: precise
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
git reset --hard remotes/origin/master
|
|
git clean -x -f -d -q
|
|
./make-index
|
|
|
|
publishers:
|
|
- ftp:
|
|
site: docs.openstack.org
|
|
source: 'output/**'
|
|
target: 'infra/publications/'
|
|
remove-prefix: 'output/'
|
|
excludes: ''
|
|
- console-log-post
|