我一直在尝试在GitLab CI/CD上启动我的演示项目的流水线。我在Windows本地机器上安装了gitlab-runner并将执行程序类型设置为“Shell”。我已经成功地将gitlab-runner集成到我的gitlab项目中。但是每当我推送更改到存储库时,流水线就会开始并以“%PATH未找到pshw”错误结束。 这是我每次遇到的错误
ERROR: Job failed (system failure): prepare environment: failed to start process: exec: "pwsh": executable file not found in %PATH%. Check https://docs.gitlab.com/runner/shells/index.html#shell-profile-loading for more information
有谁能帮我解决这个问题并解释一下我为什么会遇到这个错误。
提前感谢。
config.toml
文件。 - ddsultanpwsh
)的功能,则这不是一种解决方案。 - Ini