2017-04-03 77 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

詹金斯不能進入,因爲不是公開的。