【发布时间】:2021-06-24 03:28:35
【问题描述】:
我一直在尝试在 gitlab CI/CD 上为演示项目启动我的管道。我已经在我的 Windows 本地机器上安装了 gitlab-runner,并将执行器类型指定为“Shell”。我已经成功地将 gitlab-runner 与我的 gitlab 项目集成在一起。但是,每当我将任何更改推送到 repo 时,管道都会启动并最终以“pshw”结束,在 %PATH 错误中找不到。 This is error which I'm getting every time
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
谁能帮我解决这个问题并解释我收到这个错误的原因和原因。
提前致谢
【问题讨论】:
标签: gitlab-ci gitlab-ci-runner powershell-core