project-config/jenkins/jobs/openstack-publish-jobs.yaml
Doug Hellmann 635d0b96be add template for release notes jobs
Create a template to use for adding the jobs for building release notes
for projects.

Change-Id: Ie49eea3700a8853d5c20384e5c687958b2aeb961
2015-11-03 21:48:34 +00:00

49 lines
966 B
YAML

- job-template:
name: '{name}-docs'
node: 'bare-precise || bare-trusty'
builders:
- revoke-sudo
- gerrit-git-prep
- docs
publishers:
- ftp:
site: '{doc-publisher-site}'
source: 'doc/build/html/**'
target: 'developer/{name}'
remove-prefix: 'doc/build/html'
excludes: ''
- console-log
- job-template:
name: '{name}-merge-release-tags'
builders:
- revoke-sudo
- gerrit-git-prep
- shell: |
#!/bin/bash -xe
TAG=`echo $ZUUL_REFNAME | sed 's/refs.tags.//'`
/usr/local/jenkins/slave_scripts/merge_tags.sh $TAG
publishers:
- console-log
node: 'proposal'
- job-group:
name: openstack-publish-jobs
jobs:
- '{name}-docs'
- '{name}-merge-release-tags'
- job-group:
name: openstack-releasenotes-jobs
jobs:
- 'gate-{name}-tox-{envlist}':
envlist: releasenotes