Metal3: Replace CAPM3 API version with branch names in all jobs trigger phrases
[infra/cicd.git] / jjb / metal3 / job_keep_capm3_e2e_tests.yml
index 4f01ed433d28cb9618213426d7052affd423767a..ba347fca31659d406f3f0dfaff599a7d06362fed 100644 (file)
@@ -26,7 +26,7 @@
 
 - job-template:
     id: keep_capm3_e2e_tests
-    name: '{job_prefix}_keep_{proj}_{version}_e2e_test_{image_os}'
+    name: '{job_prefix}_keep_{proj}_{capm3_target_branch}_e2e_test_{image_os}'
     description: "CAPM3 {capm3_version} e2e tests for {org}/{repo} on {image_os}."
     project-type: pipeline
     defaults: global
@@ -94,7 +94,7 @@
         org-list: "{ci_github_whitelist_org}"
         cron: 'H/5 * * * *'
         auth-id: "{ci_ghprb_auth_id}"
-        trigger-phrase: '((.|\n)*\s)?/keep-test-{version}-{image_os}-e2e(\s(.|\n)*)?'
+        trigger-phrase: '((.|\n)*\s)?/keep-test-{image_os}-e2e-{capm3_target_branch}(\s(.|\n)*)?'
         skip-build-phrase: '/skip-test'
         only-trigger-phrase: True
         github-hooks: True
         auto-close-on-fail: False
         allow-whitelist-orgs-as-admins: True
         white-list-target-branches: "{target_branches}"
-        status-context: "keep-test-{version}-{image_os}-e2e"
+        status-context: "keep-test-{image_os}-e2e-{capm3_target_branch}"
         success-status: "Passed"
         failure-status: "Failed"
         error-status: "Error"