Skip to content

Commit

Permalink
feat: export scm_refspec of project (#912)
Browse files Browse the repository at this point in the history
* feat: export scm_refspace of project

* fix: typo

---------

Co-authored-by: Przemyslaw Kalitowski <przemyslaw@kalitowski.com>
Co-authored-by: Ivan Aragonés Muniesa <26822043+ivarmu@users.noreply.github.com>
  • Loading branch information
3 people authored Sep 23, 2024
1 parent b27aa85 commit e6ead7a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions changelogs/fragments/filetree_create_scm_refspec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
minor_changes:
- filetree_create able to export scm_refspec of project
1 change: 1 addition & 0 deletions roles/filetree_create/templates/current_projects.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down

0 comments on commit e6ead7a

Please sign in to comment.