使用Linux上的Gitlab Runner,我正在尝试连接到Windows服务器并在其中运行一些基本命令,如 git pull .
git pull
Gitlab Runner是否提供访问Windows服务器的任何功能?
还有什么其他的选择来完成这样的要求?
我想你有几个选择
在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服务器