You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
在Specific runners这一块中, 记录显示的Register the runner with this URL、 registration token。
回到运行Runner的机器中,开始注册Runner。
进到C:\GitLab-Runner目录中,执行命令gitlab-runner.exe register,根据提示输入,主要输入三个内容:Register the runner with this URL、 registration token,还有就是tag,我这里输入jmeter-win,注意:tag用来设置job,使得job运行在某个指定的Runner中。
目标
过程
安装Gitlab Runner on Wndows
gitlab-runner-windows-amd64.exe
,并改名为gitlab-runner.exe
。gitlab-runner.exe
文件复制到C:\GitLab-Runner
目录中。C:\GitLab-Runner
目录总,执行命令gitlab-runner.exe start
以服务的方式运行。为Gitlab中指定的Project注册Powershell Runner。
Settings > CI/CD
,然后点Expand
。Register the runner with this URL
、registration token
。C:\GitLab-Runner
目录中,执行命令gitlab-runner.exe register
,根据提示输入,主要输入三个内容:Register the runner with this URL
、registration token
,还有就是tag,我这里输入jmeter-win,注意:tag用来设置job,使得job运行在某个指定的Runner中。config.toml
文件,文件生成并修改后注册完成。注意:
1)将shell="powershell"需要修改成这样。
2)加上environment = ["LESSCHARSET=utf-8"],确保字符编码集采用utf-8。
附加工作
参考
Registering runners
The text was updated successfully, but these errors were encountered: