小编use*_*575的帖子

Jenkins不会连接到TFS-GIT存储库

我正在尝试将Jenkins的工作从SVN转换到新的TFS-GIT存储库(在我们的组织内托管).

我指定了Git存储库

http://thehost:8080/tfs/path/_git/reponame
Run Code Online (Sandbox Code Playgroud)

詹金斯告诉我

Failed to connect to repository : Failed to connect to http://thehost:8080/tfs/path/_git/reponame (status = 401)
Run Code Online (Sandbox Code Playgroud)

我可以使用相同的repo URL从linux命令行成功运行Git,并且不会提示输入密码(使用来自.git-credentials的值).

配置是

詹金斯服务器

  • 红帽企业Linux服务器版本6.3(圣地亚哥)
  • intel xeon 64 bit x15 x86_64
  • 詹金斯1.548
  • Git 1.8.5.5
  • Jenkins Git插件1.5.0
  • Jenkins GIT客户端插件1.7.0

TFS-GIT服务器

  • Microsoft Visual Studio Team Foundation Server版本12.0.21005.1

在作业控制台中,存在同样的错误:

Building in workspace /var/lib/jenkins/workspace/myproject
Checkout:myproject / /var/lib/jenkins/workspace/myproject - hudson.remoting.LocalChannel@3edcc1f9
Using strategy: Default
Fetching changes from 1 remote Git repository
Fetching upstream changes from origin
ERROR: Problem fetching from origin / origin - could be unavailable. Continuing …
Run Code Online (Sandbox Code Playgroud)

git tfs jenkins

5
推荐指数
1
解决办法
7711
查看次数

标签 统计

git ×1

jenkins ×1

tfs ×1