我无法通过 Jenkins 中的 execute shell 连接到远程存储库。我在 Windows 服务器上使用 cygwin 来运行 bash 命令。我收到错误消息,指出我没有连接到存储库的主机身份验证权限。但是,我可以通过 Git 插件进行连接。有什么建议么?谢谢!
最佳答案
这可能与此有关 Jenkins issue Jenkins 不喜欢你路径中的斜线。
你或许可以用尾部斜杠指定 repo 的绝对路径,看看它是否有帮助
ip-address:/absolute/path/to/repo/external-web/repo.git
关于windows - 如何在 Jenkins 中使用 cygwin 调用私有(private)仓库上的 git 命令来执行 bash 脚本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35001723/