X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Fonap%2Fuds%2Fuds-macros.yaml;h=0692817dd75bee6f9d0a1b090aa22160ae643314;hb=3e77f6448a0bd99bd43668d52485110591338cae;hp=d1a866d5a2ea9db3d632e7aeade473971bb63e56;hpb=fa60fdc2ece2dfddc34e0391841bc1f27520f00f;p=infra%2Fcicd.git diff --git a/jjb/onap/uds/uds-macros.yaml b/jjb/onap/uds/uds-macros.yaml index d1a866d5..0692817d 100644 --- a/jjb/onap/uds/uds-macros.yaml +++ b/jjb/onap/uds/uds-macros.yaml @@ -31,19 +31,19 @@ - string: name: PROJECTS default: '{projects}' - description: JJB configured PROJECTS parameter to identify Nordix Gerrit projects + description: JJB configured PROJECTS parameter to identify Nordix Gerrit projects (e.g. onap/sdc local/onap/uds/sdc-customization) - string: name: BRANCHES default: '{branches}' - description: "JJB configured BRANCHES parameter (e.g. 20.1, master)" + description: "JJB configured BRANCHES parameter (e.g. 20.1 master)" - string: name: PROJECT_DIRECTORIES default: '{project_directories}' - description: Directory names to place PROJECTS + description: Directory names to place PROJECTS (e.g. sdc sdc-customization) - string: name: PROJECT_VERSIONS default: '{project_versions}' - description: Commit ids of PROJECTS source to checkout e.g. 6d3ab, d96ba Allows for building from specific versions of a source or can also be left blank to pull latest source. + description: Commit ids of PROJECTS source to checkout e.g. 6d3ab d96ba Allows for building from specific versions of a source or can also be left blank to pull latest source. - parameter: name: git-parameters @@ -58,7 +58,7 @@ parameters: - string: name: MVN_VERSION - default: 3.6.0 + default: '{mvn_version}' description: Maven version to build with - string: name: MVN_URL @@ -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 @@ -208,3 +208,13 @@ 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