Setting PATH in environment fails in windows
git is not in the users's path on my machine so I am trying to set it in the config.toml file.
environment = ["PATH=%PATH%;C:\\Users\\jkolb\\AppData\\Local\\Programs\\Git\\bin"]
doesn't seem to work:
gitlab-ci-multi-runner 0.5.5-1-g69bc934 (69bc934)
Using Shell executor...
Running on AGO-JKOLB...
Cloning repository...
'git' is not recognized as an internal or external command,
operable program or batch file.
Checking out b21e5627 as master...
'git' is not recognized as an internal or external command,
operable program or batch file.
ERROR: Build failed with: exit status 9009
However if I run set PATH=%PATH%;C:\Users\jkolb\AppData\Local\Programs\Git\bin before executing the runner I can clone.