ONAP: Handle MVN settings.xml file as part of project build
[infra/cicd.git] / jjb / onap / global-templates-local-onap-java.yaml
index 891706871f023608441dd6637e062e7b22d085bb..0cc83b96f123396ac94c1d66caf04879181a9caf 100644 (file)
@@ -8,6 +8,7 @@
 
     disabled: '{obj:disabled_job_var}'
     concurrent: true
+    mvn_settings_xml_version:
     properties:
       - logrotate
 
           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: