简体   繁体   English

Gitlab Windows Runner最后联系人永不显示

[英]Gitlab windows Runner lastcontact showing never

We have installed Enterprise edition GITLAB. 我们已经安装了企业版GITLAB。 We have configured the shared runner but it showing the last contact as never. 我们已经配置了共享运行器,但它显示最后一个联系人从未显示。

When I try to run the gitlab-runner install command throwing error like 当我尝试运行gitlab-runner install命令时抛出诸如以下错误
'gitlab-runner' is not recognized as an internal or external command, operable program or batch file.

our Gitlab version is 11.2.0 我们的Gitlab版本是11.2.0

Can anyone help me out with this? 谁能帮我这个忙吗?

使用命令行添加正确的路径环境变量

set PATH=%PATH%C:\Program Files\Git\bin

Finally found the solution. 终于找到了解决方案。 Missed the one step while registering the runner. 在注册跑步者时错过了一步。

gitlab-tunner register

Now the runner is up and working. 现在,跑步者已经起跑并开始工作了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM