git-lab-runner 在 windows 机器上的命令不工作

Commands in git-lab-runner on windows machine not working

我在 windows10 上安装了一个 gitlab-运行ner。 当我尝试在我的 .gitlab-ci.yml 文件中使用像 pip 和 sh 这样的命令时,运行ner 无法识别这些命令,即使它们在我的 windows 机器中被识别 运行 使用命令。 我的 windows 机器上的所有环境变量都已正确设置。

即 pip 在我的 windows 机器上工作,但在我的 gitlab-运行ner 上不工作。 Refer this link

我的 config.toml 文件已设置为 "cmd"。

Error seen: 'pip' is not recognized as an internal or external command, operable program or batch file.

设置

before_script:
- SET SH_HOME=C:\cygwin64

解决了参考

的问题