diff --git a/manifest-integration-pipelines.yml.jinja2 b/manifest-integration-pipelines.yml.jinja2 index 43bbe222c0a50f47466a654ace96467a75623747..337747f88991f43a5515e9513ad4024d18a7b6f2 100644 --- a/manifest-integration-pipelines.yml.jinja2 +++ b/manifest-integration-pipelines.yml.jinja2 @@ -35,7 +35,7 @@ generate: # to explicitly pass any of them as command line arguments. {% for integration in INTEGRATION.split('\n') %} {% set SOURCE_BRANCH, TARGET_PROJECT, TARGET_BRANCH = integration.split(':') %} -{% if SOURCE_BRANCH == CI_MERGE_REQUEST_TARGET_BRANCH_NAME || +{% if SOURCE_BRANCH == CI_MERGE_REQUEST_TARGET_BRANCH_NAME or SOURCE_BRANCH == CI_COMMIT_REF_NAME %} - TARGET_PROJECT={{ TARGET_PROJECT }} .gitlab-ci/scripts/generate_job_from_template.py @@ -53,7 +53,7 @@ generate: # -------------------------------------------------------------------------------------- {% for integration in INTEGRATION.split('\n') %} {% set SOURCE_BRANCH, TARGET_PROJECT, TARGET_BRANCH = integration.split(':') %} -{% if SOURCE_BRANCH == CI_MERGE_REQUEST_TARGET_BRANCH_NAME || +{% if SOURCE_BRANCH == CI_MERGE_REQUEST_TARGET_BRANCH_NAME or SOURCE_BRANCH == CI_COMMIT_REF_NAME %} {{ TARGET_PROJECT }}:{{ TARGET_BRANCH }}: