system-config/modules/openstack_project/files/jenkins_job_builder/config/openstack-publish-jobs.yaml
Clark Boylan b1774fded0 Prep JJB jobs for running on bare-trusty
We need to make sure that jenkins will run jobs on bare-trusty before we
can migrate and projects to bare-trusty. So do the initial JJB prep now,
then we can do a project at a time.

Change-Id: I6e80567730bff8d387d8a5b87d7368ea3be6d3ab
2014-06-24 16:37:40 -07:00

44 lines
900 B
YAML

- job-template:
name: '{name}-docs'
node: 'bare-precise || bare-trusty'
builders:
- revoke-sudo
- gerrit-git-prep
- docs:
github-org: '{github-org}'
project: '{name}'
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'