Skip to content

Windows shell executor with bash not able to execute gitlab-runner.exe

I have a shell executor on a windows machine which runs using bash from the WSL. Now when I have artifacts that I need to process, I run into the error Missing C:\Documents\gitlab-runner\gitlab-runner.exe. Artifacts downloading is disabled. but the runner is at that location. Does that have to do with the fact that i use bash as shell and the path could not get parsed correctly in the linux environment?

Fix appreciated.

EDIT: When I use shell="powershell" it works. In a bash environment of course, the gitlab runner (windows) is reachable via /c/Documents/gitlab-runner/gitlab-runner.exe, I also provide gitlab-runner (Linux) binary in the WSL bash, but to no avail.

Edited by Jochen Bauer