set default values for PULL_PULL_SHA and PULL_BASE_REF to
[infra/cicd.git] / jjb / metal3 / job_capm3_e2e_feature_tests_prow.yml
index 0f4c169a172cc1012e854c92851995817a135515..43c49bb6d0a8f079d81a2906ebd91f687f510a50 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:
-            - 'Update-feature-tests-pipeline-to-be-triggerable-from-prow/mohammed'
+            - '{branch|main}'
           name: 'origin'
           refspec: '+refs/heads/*:refs/remotes/origin/*'
           wipe-workspace: True