X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Fmetal3%2Fjob_keep_integration_vm.yml;h=2596360a9c831ca55c0ad80658e2a7326cd1ad2b;hb=1780e768a8e0d38737b5541f5f816a803e74c4af;hp=6886dc34d25c9f726be2bc0f898024d5e50a5a11;hpb=ff3cf7ca68ab2c3c7482f1adeae664a9e49e23c1;p=infra%2Fcicd.git diff --git a/jjb/metal3/job_keep_integration_vm.yml b/jjb/metal3/job_keep_integration_vm.yml index 6886dc34..2596360a 100644 --- a/jjb/metal3/job_keep_integration_vm.yml +++ b/jjb/metal3/job_keep_integration_vm.yml @@ -27,7 +27,7 @@ - job-template: id: keep_integration_tests - name: '{job_prefix}_{proj}_keep_{version}_test_{image_os}_alive' + name: '{job_prefix}_{proj}_keep_{capm3_target_branch}_test_{image_os}_alive' description: "CAPM3 {capm3_version} integration tests for keeping the vm for {org}/{repo} on {image_os}." project-type: pipeline defaults: global @@ -58,6 +58,10 @@ name: IMAGE_OS default: '{image_os}' description: 'Distribution to use for the target host as well as source and target cluster. Can be ubuntu or centos' + - string: + name: capm3_release_branch + default: '{capm3_release_branch}' + description: 'The target branch of CAPM3 to be used for this test' - string: name: CAPI_VERSION default: '{capi_version}' @@ -91,7 +95,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}-integration(\s(.|\n)*)?' + trigger-phrase: '((.|\n)*\s)?/keep-test-{image_os}-integration-{capm3_target_branch}(\s(.|\n)*)?' skip-build-phrase: '/skip-test' only-trigger-phrase: True github-hooks: True @@ -99,7 +103,7 @@ auto-close-on-fail: False allow-whitelist-orgs-as-admins: True white-list-target-branches: "{target_branches}" - status-context: "keep-test-{version}-{image_os}-integration" + status-context: "keep-test-{image_os}-integration-{capm3_target_branch}" success-status: "Passed" failure-status: "Failed" error-status: "Error"