我是Jenkins的初学者,想要让它在我的.NET项目中运行一些单元测试。
当我运行构建时,它会在尝试从Git仓库获取内容时挂起。
ERROR: Timeout after 10 minutes
> C:\Program Files\Git\cmd\git.exe config --local --remove-section credential # timeout=10
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from https://github.com/name.of.repo
根据Jenkins的说明,我已生成已知主机并将.ssh目录复制到C:\Windows\SysWOW64\config\systemprofile.ssh。说明链接在这里,位于“Jenkins、Git插件和Windows”下。
我从命令行运行ssh git@github.com,并且可以成功验证。
接下来我该尝试什么?