Use generic stable periodic jobs

Instead of having separate templates for each branch, use a single
template - together with a neutron variant - for the stable periodic
jobs and add the required branch conditions here.

Once this is in, we can use it in project-config.

Needed-By: I41e2325fa98d2e5575a745a3f438fad2c4075ae8
Change-Id: I6167dceee27db0d17f2febd52e85224ac6df1eac
This commit is contained in:
Andreas Jaeger 2017-11-01 15:05:28 +01:00
parent 8e8fc71517
commit 15e7a736ee

View File

@ -674,3 +674,35 @@
post:
jobs:
- publish-install-guide
- project-template:
name: periodic-stable-jobs
description: |
Runs periodic jobs on stable branches.
periodic-stable:
jobs:
- build-openstack-sphinx-docs:
branches:
- stable/ocata
- stable/pike
- openstack-tox-py27:
branches:
- stable/ocata
- stable/pike
- project-template:
name: periodic-stable-jobs-neutron
periodic-stable:
jobs:
- build-openstack-sphinx-docs:
branches:
- stable/ocata
- stable/pike
required-projects:
- openstack/neutron
- openstack-tox-py27:
branches:
- stable/ocata
- stable/pike
required-projects:
- openstack/neutron