fix refernce to project version

Jenkins uses dollar bracket to reference properties.

Change-Id: I5126576ae370c264e738aabfdbd17ec4fa817dd3
Reviewed-on: https://review.openstack.org/33728
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
This commit is contained in:
zaro0508 2013-06-19 15:13:55 -07:00 committed by Jenkins
parent 338003fd77
commit acbc042e1a

View File

@ -15,7 +15,7 @@
group-id: '{maven-group-id}'
artifact-id: '{name}'
root-pom: pom.xml
goals: 'clean package -Dproject-version=$PROJECT_VER'
goals: 'clean package -Dproject-version=${{PROJECT_VER}}'
publishers:
- console-log
@ -37,13 +37,13 @@
group-id: '{maven-group-id}'
artifact-id: '{name}'
root-pom: pom.xml
goals: 'clean package -Dmaven.test.skip=true -Dproject-version=$PROJECT_VER'
goals: 'clean package -Dmaven.test.skip=true -Dproject-version=${{PROJECT_VER}}'
publishers:
- war:
site: 'tarballs.openstack.org'
warfile: 'target/{name}.hpi'
target: 'tarballs/ci/{name}/{name}-$PROJECT_VER.hpi'
target: 'tarballs/ci/{name}/{name}-${{PROJECT_VER}}.hpi'
- console-log-post
- job-template: