635d0b96be
Create a template to use for adding the jobs for building release notes for projects. Change-Id: Ie49eea3700a8853d5c20384e5c687958b2aeb961
49 lines
966 B
YAML
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
|