From e6b2556fb3d9c72a6ebf39cece18553e5d5063ea Mon Sep 17 00:00:00 2001 From: zaro0508 Date: Mon, 15 Jul 2013 14:25:04 -0700 Subject: [PATCH] deploy plugin file to tarballs.o.o/ci/gearman-plugin This commit will copy the built gearman-plugin.hpi file to tarballs.o.o with an appended version identifier (i.e. tarballs.o.o/ci/gearman-plugin/gearman-plugin-${version}.hpi) Change-Id: Ib0fa29691db27a40507524488588c57760b70776 Reviewed-on: https://review.openstack.org/37139 Reviewed-by: Clark Boylan Approved: Jeremy Stanley Reviewed-by: Jeremy Stanley Tested-by: Jenkins --- .../jenkins_job_builder/config/jenkins-plugin-jobs.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/modules/openstack_project/files/jenkins_job_builder/config/jenkins-plugin-jobs.yaml b/modules/openstack_project/files/jenkins_job_builder/config/jenkins-plugin-jobs.yaml index da638425bf..0f114ed54b 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/jenkins-plugin-jobs.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/jenkins-plugin-jobs.yaml @@ -50,11 +50,15 @@ root-pom: pom.xml goals: 'clean package -Dmaven.test.skip=true -Dproject-version=${{PROJECT_VER}}' + postbuilders: + - shell: | + cp ./target/{name}.hpi ./target/{name}-$PROJECT_VER.hpi + publishers: - war: site: 'tarballs.openstack.org' - warfile: 'target/{name}.hpi' - target: 'tarballs/ci/{name}/{name}-${{PROJECT_VER}}.hpi' + warfile: 'target/{name}-${{PROJECT_VER}}.hpi' + target: 'tarballs/ci/{name}' - console-log-post - job-template: