project-config/jenkins/jobs/specs-jobs.yaml
Anita Kuno 1d21cd635f Reorganizes project-config
This repo was created from filter branching the openstack-infra/
config repo. This process brought a lot of cruft with it in the
form of directories that we no longer need. This patch removes
that cruft so we begin with a tidier repo.

Change-Id: Ibffad1b11c0c5f84eedfb0365369f60c4961a0f3
2014-09-25 11:41:04 -04:00

35 lines
895 B
YAML

# Jobs for the various *-specs repositories
- job-template:
name: '{name}-publish-specs'
node: 'bare-precise || bare-trusty'
# We want to publish to org/name but the scp publisher cannot remove paths,
# so use a shell builder to move the content in the right place and publish
# from there.
builders:
- revoke-sudo
- gerrit-git-prep
- docs:
project: '{name}'
- shell: |
mkdir `dirname $ZUUL_PROJECT`
mv doc/build/html $ZUUL_PROJECT
publishers:
- scp:
site: 'static.openstack.org'
files:
- target: 'specs/'
source: '$ZUUL_PROJECT/**'
keep-hierarchy: true
copy-after-failure: false
- console-log
- job-group:
name: specs-jobs
jobs:
- gate-{name}-docs
- gate-{name}-python27
- '{name}-publish-specs'