【发布时间】:2020-01-08 13:35:31
【问题描述】:
我是 Jenkins 的新手,我试图让它在我的 .NET 项目中运行一些单元测试。
当我运行构建时,它会在尝试从 git 存储库中获取时挂起。
错误:10 分钟后超时
C:\Program Files\Git\cmd\git.exe config --local --remove-section credential # timeout=10 错误:获取远程 repo 'origin' 时出错 hudson.plugins.git.GitException:无法从https://github.com/name.of.repo获取
我已经生成了已知主机并将 .ssh 目录复制到 C:\Windows\SysWOW64\config\systemprofile.ssh,按照“Jenkins、GIT 插件和 Windows”下 https://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin 的 jenkins 说明
我从 cmd 行运行了 ssh git@github.com,我可以成功验证。
有什么想法吗?
谢谢:)
【问题讨论】:
标签: git github jenkins ssh jenkins-plugins