ONAP: Handle MVN settings.xml file as part of project build
Change-Id: I7a14c9d1ddbab8918d3a32adfbf8605f166f7176
diff --git a/jjb/onap/global-templates-onap-java.yaml b/jjb/onap/global-templates-onap-java.yaml
index 7a3f2ce..f2fab41 100644
--- a/jjb/onap/global-templates-onap-java.yaml
+++ b/jjb/onap/global-templates-onap-java.yaml
@@ -5,6 +5,7 @@
disabled: '{obj:disabled_job_var}'
concurrent: true
+ mvn_settings_xml_version:
properties:
- logrotate
@@ -29,6 +30,10 @@
name: MVN
default: $WORKSPACE/apache-maven-${{MVN_VERSION}}/bin/mvn
description: Path to mvn executable
+ - string:
+ name: MVN_SETTINGS_XML_VERSION
+ default: '{mvn_settings_xml_version}'
+ description: Commit ID of ONAP Oparent repository (https://git.onap.org/oparent/) to pull. Used for Maven settings file. Can be left blank to pull the latest version.
scm:
- git-scm-gerrit: