set default values for PULL_PULL_SHA and PULL_BASE_REF to
[infra/cicd.git] / jjb / metal3 / job_ironic_image_build_test.yml
index 1ce9c90488f298ffc16c4a9e5c6f04975b8cb86f..8b9412f3e86141614490ead27edbe536e4ba4a3d 100644 (file)
         name: PROJECT_REPO_NAME
         default: '{repo}'
         description: 'Project github repo name'
+    - string:
+        name: ghprbActualCommit
+        default: 'main'
+        description: 'CI Repo branch for triggering manual build'
+    - string:
+        name: ghprbAuthorRepoGitUrl
+        default: 'https://github.com/{org}/{repo}.git'
+        description: 'CI Repo URL for triggering manual build'
+    - string:
+        name: ghprbTargetBranch
+        default: 'main'
+        description: 'Target branch of the PR'
     - string:
         name: PATCHFILE_CONTENT
         default: ''
           - '{ci_github_admin_user}'
         org-list: "{ci_github_whitelist_org}"
         auth-id: "{ci_ghprb_auth_id}"
-        trigger-phrase: '((.|\n)*\s)?/test-ironic-image-build(\s(.|\n)*)?'
+        trigger-phrase: '.*?/test-ironic-image-build.*?'
+        cron: 'H/5 * * * *'
         only-trigger-phrase: True
         github-hooks: True
         permit-all: False
         auto-close-on-fail: False
         allow-whitelist-orgs-as-admins: True
-        white-list-target-branches: "main"
+        white-list-target-branches:
+          - 'main'
+          - 'release-23.1'
+          - 'release-24.0'
         status-context: "test-ironic-image-build"
         success-status: "Passed"
         failure-status: "Failed"