Jenkins查询失败,异常'无法建立连接,因为目标计算机主动拒绝它127.0.0.1:8080'

时间:2016-04-18 03:06:31

标签: jenkins tfs continuous-integration continuous-deployment tfvc

正如所述标题我在尝试将TFS挂钩到Jenkins时遇到问题,以便在代码提交到服务器时自动触发构建。 Here's the detailed picture

仅供参考:我在我的本地主机上设置了Jenkins:8080默认情况下,我在TFS上使用的项目也在本地机器上编码并使用本地数据库(不知道是不是这个问题)。项目在Jenkins上成功构建。

请帮助我解决这个问题并尽可能详细解释,因为我是Jenkins以及CI / CD的新手。提前致谢! :)

1 个答案:

答案 0 :(得分:0)

  1. 在Jenkins基本网址中使用IP地址代替 localhost

  2. 确保您在Jenkins中配置了项目。

  3. https://www.visualstudio.com/get-started/integrate/integrating-with-service-hooks-vs