Add triggers to UDS Build Job
[infra/cicd.git] / jjb / onap / uds / uds-macros.yaml
index d1a866d5a2ea9db3d632e7aeade473971bb63e56..186f6911340db2fb22d43f356d2d50bfe20dd119 100644 (file)
@@ -70,7 +70,7 @@
           description: Path to mvn executable
       - string:
           name: MVN_PARAMS
-          default: -Pdocker
+          default: '{mvn_params}'
           description: Maven build parameters
       - string:
           name: MVN_SETTINGS_XML_VERSION
     builders:
       - shell:
           !include-raw: ./scripts/push-repos.sh
+
+# Wrapper for Artifactory API Key
+- wrapper:
+    name: 'artifactory-credentials'
+    wrappers:
+      - credentials-binding:
+        - username-password-separated:
+            credential-id: 'nordix-cicd-arm-credentials'
+            username: NORDIX_ARM_USERNAME
+            password: NORDIX_ARM_TOKEN