我想你有几个选择
在windows机器/vm上安装openssh并配置服务器,然后使用ssh从gitlab runner连接( https://docs.microsoft.com/en-us/windows-server/administration/openssh/openssh_install_firstuse )
(正如wojciech wirzbicki评论的那样)在windows上安装gitlab runner实例。 https://docs.gitlab.com/runner/install/windows.html . 我认为这个选择更安全更容易获胜
使用winrm连接到windows服务器