set default values for PULL_PULL_SHA and PULL_BASE_REF to
[infra/cicd.git] / jjb / metal3 / job_capm3_e2e_basic_tests.yml
index 05f89af4ff28bb3d3d3152e99d53604773ab22ec..80292e8d22bd0a528359771b42e5892c03ff84a3 100644 (file)
         description: 'Project github repo name'
     - string:
         name: PULL_BASE_REF
-        default: 'main'
+        default: '{capm3_release_branch}'
         description: 'Ref name of the base branch'
     - string:
         name: PULL_PULL_SHA
-        default: 'main'
+        default: '{capm3_release_branch}'
         description: 'Pull request head SHA'
     - string:
         name: PULL_NUMBER
     pipeline-scm:
       scm:
       - git:
-          url: "https://github.com/Nordix/metal3-project-infra.git"
+          url: "{ci_github_repo}"
           credentials-id: "{ci_github_jenkins_credentials_id}"
           branches:
-            - 'fetch-changes-from-pr-id/mboukhalfa'
+            - '{branch|main}'
           name: 'origin'
           refspec: '+refs/heads/*:refs/remotes/origin/*'
           wipe-workspace: True