I trying to execute .sh file in gitlab-ci.yml with command
- bash ./updateReportScript.sh
but it throw
updateReportScript.sh: line 4: syntax error near unexpected token $‘in\r’’`
I tried to convert the line separator to different format ( LF - CRLF) but still got the problem.
I’m running gitlab runner in shell and on Windows machine.