I want to install a gitlab-runner
(executor shaell
) on my Windows 10 box. I start the job on the gitlab server and it always ends up with the message the command "git" cannot be found
(roughly translated into english).
As a matter of fact git
is not part of my path.
How can I modify my PATH
variable for the shell the gitlab-runner
starts?
To use git on the command line in windows I usually set it with the statement: PATH %PATH%C:\Program Files\Git\bin
.
Is it documented somewhere, git
has to be available to the runner?
How can I see the command line the runner invokes (i.e. the call to git)?
pre_build_script = "$Env:PATH += \";C:\\Program Files\\7-Zip\""
, but it worked. Thanks. – Nieberg