Backend: Terminator at the end of the line disappear in the file type of CI/CD variable
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Summary
The last line of the initial file ends with a terminator $. However, when copying the contents of the file to the file type CI/CD variable and output it in the job, the terminator disappears.
Steps to reproduce
- Create a file and using
cat -Ato view the contents.
- Copy the contents to CI/CD
filevariable.
- Edit the
.gitlab-ci.ymlto output the variable.
- Check the output in the job.
This issue can fail the connection from the remote machine using the latest version of openssh keys due to the lack of the terminator in the last line.
Edited by 🤖 GitLab Bot 🤖



