Allow version.properties path 91/84391/1
authorJessica Wagantall <jwagantall@linuxfoundation.org>
Fri, 5 Apr 2019 03:30:44 +0000 (20:30 -0700)
committerJessica Wagantall <jwagantall@linuxfoundation.org>
Fri, 5 Apr 2019 20:09:58 +0000 (13:09 -0700)
dcaegen2-services sub components need to be kept managed
by several version.properties files. We need to make sure
the release job is able to take a path for them.

Issue-ID: CIMAN-249
Change-Id: I6ecb09f8a548bf24193974b1c023d30370f2b24d
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
jjb/global-templates-java.yaml

index 70d8c09..c7fe3cf 100644 (file)
     project-type: freestyle
     node: '{build-node}'
     disabled: '{disabled}'
+    version-properties: 'version.properties'
     maven-deploy-properties:
     properties:
       - infra-properties:
           settings-file: '{mvn-settings}'
 
       - inject:
-          properties-file: version.properties
+          properties-file: '{version-properties}'
       - maven-set-release-version:
           maven-version: '{maven-version}'
           mvn-settings: '{mvn-settings}'