Merge "ONAP: Set correct Java alternatives for ONAP project"
[infra/cicd.git] / jjb / global / jjb-macros.yaml
index eaaa69e610899a8d91dae98c3bd68c3f7b6aea6e..8d6428ed01b56e34149cefdc3855df52e60f2eae 100644 (file)
@@ -5,12 +5,12 @@
     parameters:
       - string:
           name: JJB_GIT_REPO
-          default: https://review.opendev.org/jjb/jenkins-job-builder
-          description: OpenStack JJB repo
+          default: https://opendev.org/jjb/jenkins-job-builder.git
+          description: OpenDev JJB repo
       - string:
           name: JJB_VERSION
           default: 2.9.1
-          description: OpenStack JJB version to install - matches to LFN JJB version
+          description: OpenDev JJB version to install - matches to LFN JJB version
       - string:
           name: NORDIX_REGISTRY
           default: registry.nordix.org
               username: HARBOR_USERNAME
               password: HARBOR_PASSWORD
 
+# wrappers to use for jobs
+- wrapper:
+    name: nordixinfra-eiffel-github-token
+    wrappers:
+      - credentials-binding:
+          - username-password-separated:
+              credential-id: nordix-eiffel-github-token
+              username: NORDIXINFRA_GITHUB_USERNAME
+              password: NORDIXINFRA_GITHUB_TOKEN
+
 # timeout wrapper to use for jobs
 - wrapper:
     name: build-timeout