lfit / releng-reusable-workflows

Reusuable workflows developed by LF Release Engineering
Apache License 2.0
1 stars 9 forks source link

Fix: Only obtain global-settings through variable #120

Closed eb-oss closed 7 months ago

eb-oss commented 7 months ago

Currently, the global-settings are obtained through a Jenkins fetch, and then via a variable which is concatenated onto what was fetched. This is a problem, as it will create an invalid settings file if both are defined.

To simplify this process, we can simply use the variable. The touch/cat is replaced with an overwrite, as we want the file to be written as it's stored, and not placed on top of anything that is already in the file.