Add xTesting packaging and Offline execution support
[infra/cicd.git] / jjb / global / jjb-macros.yaml
index eaaa69e610899a8d91dae98c3bd68c3f7b6aea6e..d9a37c502a1df8537728cd24371b59d61a78a827 100644 (file)
@@ -1,21 +1,4 @@
 ---
-# these parameters are used for infra related variables
-- parameter:
-    name: infra-parameters
-    parameters:
-      - string:
-          name: JJB_GIT_REPO
-          default: https://review.opendev.org/jjb/jenkins-job-builder
-          description: OpenStack JJB repo
-      - string:
-          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:
     name: project-parameters
               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