
Create a new project under openstack-infra for the zmq-event-publisher Jenkins plugin. We are actually beginning to use this plugin for logstash so it should follow our normal processes for code review and merging. The gearman-plugin project uses the same sort of build and package steps so these Jenkins jobs have been converted to a set of templates in a job group that both plugins can use. Change-Id: I2bab79506119b1c04a8e9d48bc66f1a609426324 Reviewed-on: https://review.openstack.org/26872 Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Reviewed-by: Khai Do <zaro0508@gmail.com> Reviewed-by: James E. Blair <corvus@inaugust.com> Approved: Clark Boylan <clark.boylan@gmail.com> Tested-by: Jenkins
54 lines
1.0 KiB
YAML
54 lines
1.0 KiB
YAML
- job-template:
|
|
name: 'gate-{name}-build'
|
|
project-type: maven
|
|
node: quantal && !jclouds
|
|
|
|
triggers:
|
|
- zuul
|
|
|
|
prebuilders:
|
|
- gerrit-git-prep
|
|
|
|
maven:
|
|
maven-name: Maven3
|
|
root-module:
|
|
group-id: '{maven-group-id}'
|
|
artifact-id: '{name}'
|
|
root-pom: pom.xml
|
|
goals: 'clean package'
|
|
|
|
publishers:
|
|
- console-log
|
|
|
|
- job-template:
|
|
name: '{name}-hpi-artifact'
|
|
project-type: maven
|
|
node: quantal && !jclouds
|
|
|
|
triggers:
|
|
- zuul-post
|
|
|
|
prebuilders:
|
|
- gerrit-git-prep
|
|
|
|
maven:
|
|
maven-name: Maven3
|
|
root-module:
|
|
group-id: '{maven-group-id}'
|
|
artifact-id: '{name}'
|
|
root-pom: pom.xml
|
|
goals: 'clean package -Dmaven.test.skip=true'
|
|
|
|
publishers:
|
|
- war:
|
|
site: 'tarballs.openstack.org'
|
|
warfile: 'target/{name}.hpi'
|
|
target: 'tarballs/ci/'
|
|
- console-log-post
|
|
|
|
- job-group:
|
|
name: jenkins-plugin-jobs
|
|
jobs:
|
|
- 'gate-{name}-build'
|
|
- '{name}-hpi-artifact'
|