2017-04-03 56 views
0

我想在视觉演播室团队服务中整合jenkins作为服务钩子。这个想法是当推动掌握分支的代码时,自动启动jenkins的工作。一切似乎是正确配置,但在事件发生时,它给出了一个错误:Jenkins与团队服务的集成

"An error occurred while sending the request. Unable to connect to the remote server" 

请求是notifyCommit URL,如果我在浏览器中粘贴工作,并启动詹金斯工作。所以,似乎某些东西没有正确配置,因为团队服务无法连接到Jenkins。

"Error Details 
System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> 
System.Net.WebException: Unable to connect to the remote server ---> 
System.Net.Sockets.SocketException: A connection attempt failed because the 
connected party did not properly respond after a period of time, or 
established connection failed because connected host has failed to respond" 
+0

Jenkins服务器在哪里托管?本地/内部部署? – Webbanditten

+0

不在云中,安装在我们组织中的公共虚拟机中,可以在我们域的任何计算机上访问。 – Gorka

+0

来自外部世界的DMZ/Accessable中的虚拟机是否?因为如果您使用VSTSO(Visual Studio Team Services Online),则无法访问您的内部域或网络。 – Webbanditten

回答

1

这里的问题是您的Jenkins构建服务器托管在您的组织网络中。

要解决这个问题,你可以在fx Azure中托管你的构建服务器。

0

詹金斯不能进入,因为不是公开的。