Git is not recognized in Windows gitlab ci

后端 未结 4 528
梦如初夏
梦如初夏 2021-01-19 03:53

I configured a gitlab runner as explained here: https://docs.gitlab.com/runner/install/windows.html

Unfortunately, when I push to my repository, my pipeline fails:

4条回答
  •  有刺的猬
    2021-01-19 04:23

    For me it happened that I installed git after I started PowerShell to run gitlab-runner. To fix this you need to restart PowerShell after git is installed and then restart gitlab-runner to get git on your PATH.

提交回复
热议问题