From 11b12e2d97b505aef9d78a60b0b871fb57a19539 Mon Sep 17 00:00:00 2001 From: przemkalit Date: Mon, 23 Sep 2024 10:03:17 +0200 Subject: [PATCH] feat: export scm_refspec of project (#912) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: export scm_refspace of project * fix: typo --------- Co-authored-by: Przemyslaw Kalitowski Co-authored-by: Ivan Aragonés Muniesa <26822043+ivarmu@users.noreply.github.com> --- roles/filetree_create/templates/current_projects.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/filetree_create/templates/current_projects.j2 b/roles/filetree_create/templates/current_projects.j2 index ea2e2beaf..3208a9ac6 100644 --- a/roles/filetree_create/templates/current_projects.j2 +++ b/roles/filetree_create/templates/current_projects.j2 @@ -16,6 +16,7 @@ controller_projects: scm_delete_on_update: "{{ current_projects_asset_value.scm_delete_on_update }}" scm_update_on_launch: "{{ current_projects_asset_value.scm_update_on_launch }}" scm_update_cache_timeout: "{{ current_projects_asset_value.scm_update_cache_timeout }}" + scm_refspec: "{{ current_projects_asset_value.scm_refspec }} {% endif %} {% if is_aap and current_job_templates_asset_value.summary_fields.default_environment is defined %} default_environment: "{{ current_job_templates_asset_value.summary_fields.default_environment.name }}"