Refactor Gerrit plugin build jobs
Make the Gerrit plugin job names a little more concise and make the job a little more generic so that users can reuse it to build other gerrit plugins. Change-Id: Icfba74619b1dff65999882ad9f15d7c0fdb4c666
This commit is contained in:
parent
14e93d0b95
commit
c2edc2a1f0
@ -1,6 +1,5 @@
|
||||
|
||||
- job-template:
|
||||
name: 'periodic-gerrit-plugin-{name}-{plugin-branch}'
|
||||
name: '{plugin-name}-gerrit-plugin-{plugin-branch}'
|
||||
node: '{node}'
|
||||
|
||||
wrappers:
|
||||
@ -31,8 +30,3 @@
|
||||
warfile: 'gerrit/buck-out/gen/plugins/{plugin-name}/{plugin-name}-*.jar'
|
||||
target: 'tarballs/ci/gerrit/plugins/{plugin-name}'
|
||||
- console-log
|
||||
|
||||
- job-group:
|
||||
name: gerrit-plugin-jobs-{plugin-branch}
|
||||
jobs:
|
||||
- 'periodic-gerrit-plugin-{name}-{plugin-branch}'
|
@ -1955,6 +1955,24 @@
|
||||
jobs:
|
||||
- jenkins-plugin-jobs
|
||||
|
||||
- project:
|
||||
name: gerrit
|
||||
node: 'bare-precise || bare-trusty'
|
||||
tarball-site: tarballs.openstack.org
|
||||
gerrit-project: 'https://git.openstack.org/openstack-infra/gerrit'
|
||||
|
||||
jobs:
|
||||
- '{plugin-name}-gerrit-plugin-{plugin-branch}':
|
||||
gerrit-branch: 'openstack/2.8.4'
|
||||
plugin-name: 'javamelody'
|
||||
plugin-project: 'https://gerrit.googlesource.com/plugins/{plugin-name}'
|
||||
plugin-branch: 'stable-2.8'
|
||||
- '{plugin-name}-gerrit-plugin-{plugin-branch}':
|
||||
gerrit-branch: 'openstack/2.9.4'
|
||||
plugin-name: 'javamelody'
|
||||
plugin-project: 'https://gerrit.googlesource.com/plugins/{plugin-name}'
|
||||
plugin-branch: 'stable-2.9'
|
||||
|
||||
- project:
|
||||
name: gerritbot
|
||||
node: 'bare-precise || bare-trusty'
|
||||
@ -2043,25 +2061,6 @@
|
||||
- gate-{name}-tox-{envlist}:
|
||||
envlist: ical
|
||||
|
||||
- project:
|
||||
name: javamelody-gerrit-plugin
|
||||
node: 'bare-precise || bare-trusty'
|
||||
tarball-site: tarballs.openstack.org
|
||||
|
||||
jobs:
|
||||
- 'gerrit-plugin-jobs-{plugin-branch}':
|
||||
gerrit-project: 'https://git.openstack.org/openstack-infra/gerrit'
|
||||
gerrit-branch: 'openstack/2.8.4'
|
||||
plugin-project: 'https://gerrit.googlesource.com/plugins/javamelody'
|
||||
plugin-name: 'javamelody'
|
||||
plugin-branch: 'stable-2.8'
|
||||
- 'gerrit-plugin-jobs-{plugin-branch}':
|
||||
gerrit-project: 'https://git.openstack.org/openstack-infra/gerrit'
|
||||
gerrit-branch: 'openstack/2.9.4'
|
||||
plugin-project: 'https://gerrit.googlesource.com/plugins/javamelody'
|
||||
plugin-name: 'javamelody'
|
||||
plugin-branch: 'stable-2.9'
|
||||
|
||||
- project:
|
||||
name: jeepyb
|
||||
node: 'bare-precise || bare-trusty'
|
||||
|
@ -3273,8 +3273,8 @@ projects:
|
||||
- gerrit-package
|
||||
- gerrit-package-buck
|
||||
periodic:
|
||||
- periodic-gerrit-plugin-javamelody-gerrit-plugin-stable-2.8
|
||||
- periodic-gerrit-plugin-javamelody-gerrit-plugin-stable-2.9
|
||||
- javamelody-gerrit-plugin-stable-2.8
|
||||
- javamelody-gerrit-plugin-stable-2.9
|
||||
|
||||
- name: openstack-infra/gerritbot
|
||||
template:
|
||||
|
Loading…
Reference in New Issue
Block a user