如何更改TFS以使用FQDN进行TFS GIT jenkins整合 [英] How to change TFS to use the FQDN for TFS GIT jenkins integeration
问题描述
面对一个问题,TFS服务器在没有FQDN的情况下导出其名称(ABC-01代替对于ABC-01.DOMAIN.com),Jenkins服务器工作正常,但是当它执行git checkout时,
因此而失败。 所以在Jenkins中已经使用FQDN配置了TFSGIT项目,但是当服务挂钩在TFS上运行时它只使用主机名,因此不会触发构建,因为URL不匹配。
错误: 由:hudson.plugins.git.GitException:org.eclipse.jgit.api.errors.TransportException ::无法打开git-upload-pack
Error: Caused by: hudson.plugins.git.GitException: org.eclipse.jgit.api.errors.TransportException: : cannot open git-upload-pack
我们可以更改TFS以使用FQDN吗?
推荐答案
DOPS0203,
Hi DOPS0203,
请尝试此线程中的解决方案,启用基本身份验证并提供默认域:
Please try the solution in this thread, turn on Basic Authentication and supply the Default Domain:
https://stackoverflow.com/questions/22825871/jenkins-wont-connect-to-tfs-git-repository
最好的问候
这篇关于如何更改TFS以使用FQDN进行TFS GIT jenkins整合的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!