Airship: add ghprbTargetBranch parameter to all jobs
[infra/cicd.git] / jjb / airship / job_capi_bm_v1a2_master_integration_tests_centos.yml
index 3590a79155566d5af79b7e91d1faf9b95b47f9bd..dbb016cff55c61562dfb3e7124b29bab24950256 100644 (file)
         name: ghprbAuthorRepoGitUrl
         default: 'https://github.com/{repo[org]}/{repo[name]}.git'
         description: 'CI Repo URL for triggering manual build'
+    - string:
+        name: ghprbTargetBranch
+        default: 'master'
+        description: 'Target branch of the PR'
     - string:
         name: DISTRIBUTION
         default: 'centos'
@@ -79,7 +83,7 @@
     pipeline-scm:
       scm:
       - git:
-          url: https://github.com/Nordix/airship-dev-tools.git
+          url: "{ci_github_repo}"
           credentials-id: "{ci_github_jenkins_credentials_id}"
           branches:
             - '{branch|master}'
@@ -88,5 +92,5 @@
           wipe-workspace: True
           honor-refspec: True
           shallow-clone: False
-      script-path: 'ci/jobs/capi_bm_integration_tests.pipeline'
+      script-path: "{ci_github_pipeline}"
       lightweight-checkout: False