set default values for PULL_PULL_SHA and PULL_BASE_REF to
[infra/cicd.git] / jjb / metal3 / job_capm3_e2e_integration_tests.yml
index a913c723f7783602d997f1fa6930a189ade8cb53..995dbb49b7435a35dc46bd1a306aa4c65bbbd706 100644 (file)
         name: capm3_release_branch
         default: '{capm3_release_branch}'
         description: 'The target branch of CAPM3 to be used for this test'
+    - string:
+        name: bmo_release_branch
+        default: '{bmo_release_branch}'
+        description: 'The target branch of BMO to be used for this test'
     - string:
         name: CAPI_VERSION
         default: '{capi_version}'
         org-list: "{ci_github_whitelist_org}"
         cron: 'H/5 * * * *'
         auth-id: "{ci_ghprb_auth_id}"
-        trigger-phrase: '((.|\n)*\s)?/test-{image_os}-e2e-integration-{capm3_target_branch}(\s(.|\n)*)?'
+        trigger-phrase: '.*?/test-{image_os}-e2e-integration-{capm3_target_branch}.*?'
         skip-build-phrase: '/skip-test'
         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: "{target_branches}"
         status-context: "test-{image_os}-e2e-integration-{capm3_target_branch}"
         success-status: "Passed"
         failure-status: "Failed"