繁体   English   中英

Jenkins git插件从GitHub超时中获取更改

[英]Jenkins git plugin fetching changes from GitHub timeout

我知道这个问题已经被问过很多次了。 我的情况是这样的:我有一个DEV和PROD Windows服务器,并且它们在同一位置安装了相同版本的git 1.9.5。

  1. 它适用于DEV,但不适用于PROD。
  2. 它适用于github.com,但不适用于我公司的github实例github.opp.com。
  3. 附带了与git相关的插件的区别,不确定是否是问题所在。 上一个是DEV。

在此处输入图片说明

在此处输入图片说明

Building remotely on public_jendevslave_1 in workspace D:\public_jendevslave_1\workspace\DevOps\Test-GitHub
 > D:\Git\bin\git.exe rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > D:\Git\bin\git.exe config remote.origin.url http://github.opp.com/DevOps/Sample.git # timeout=10
Fetching upstream changes from http://github.opp.com/DevOps/Sample.git
 > D:\Git\bin\git.exe --version # timeout=10
using .gitcredentials to set credentials
 > D:\Git\bin\git.exe config --local credential.username svc_appbuilder_dev # timeout=10
 > D:\Git\bin\git.exe config --local credential.helper store --file=\"C:\Users\SVC_SE~2\AppData\Local\Temp\git9162421949136116258.credentials\" # timeout=10
 > D:\Git\bin\git.exe -c core.askpass=true fetch --tags --progress http://github.opp.com/DevOps/Sample.git +refs/heads/*:refs/remotes/origin/*

最终切换到git ssh来解决此问题。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM