Add JJB macros for Eiffel
[infra/cicd.git] / jjb / global / jjb-macros.yaml
index 6a4d11ef8e8743869a9eeb4431e699d651580dbd..c98268cf77421e127e1dc8ce83506b1b87b7c23d 100644 (file)
           name: JJB_VERSION
           default: 2.9.1
           description: OpenStack JJB version to install - matches to LFN JJB version
+      - string:
+          name: NORDIX_REGISTRY
+          default: registry.nordix.org
+          description: Nordix Container Image Registry
 
 # these parameters are used for setting the Gerrit Project on Nordix
 - parameter:
               username: JJB_USERNAME
               password: JJB_USERTOKEN
 
+# wrappers to use for jobs
+- wrapper:
+    name: nordixinfra-harbor-creds-wrapper
+    wrappers:
+      - credentials-binding:
+          - username-password-separated:
+              credential-id: nordix-cicd-harbor-credentials
+              username: HARBOR_USERNAME
+              password: HARBOR_PASSWORD
+
 # timeout wrapper to use for jobs
 - wrapper:
     name: build-timeout