Allow version.properties path
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>
diff --git a/jjb/global-templates-java.yaml b/jjb/global-templates-java.yaml
index 70d8c09..c7fe3cf 100644
--- a/jjb/global-templates-java.yaml
+++ b/jjb/global-templates-java.yaml
@@ -490,6 +490,7 @@
project-type: freestyle
node: '{build-node}'
disabled: '{disabled}'
+ version-properties: 'version.properties'
maven-deploy-properties:
properties:
- infra-properties:
@@ -529,7 +530,7 @@
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}'