现在我的公司要求我们将 Octopus 与 Bamboo 集成。我们已经在使用 Bamboo 来构建和运行单元测试用例。
这就是我遵循的过程。
1. 安装八达通服务器并创建包并推送。按照这个链接。
2. 在 Octopus 中创建环境,如开发、QA 等。
3. 在其中一个 Azure 虚拟机中安装 Octopus 触手。按照这个链接。4. 在此链接
之后添加了 Azure VM 扩展。在这个链接中,提到一旦我们在 Azure 门户中添加扩展,几分钟后,它将可见 Octopus Deploy 服务器。
“几分钟后,机器应该出现在您的 Octopus Deploy Server 的环境选项卡中”。
如前所述,它在环境选项卡中可见,但它的含义unavailable
如图所示。
如果有帮助,我还附上了尝试与 Azure VM 连接时生成的日志。
Recent Communication Logs
August 8th 2018 20:14:21Info
Opening a new connection
August 8th 2018 20:14:42Error
Unexpected exception executing transaction. Halibut.HalibutClientException: The client was unable to establish the initial connection within 00:01:00
at Halibut.Transport.TcpClientExtensions.ConnectWithTimeout(TcpClient client, String host, Int32 port, TimeSpan timeout) in Z:\buildAgent\workDir\3db141632c8c5dde\source\Halibut\Transport\TcpClientExtensions.cs:line 43
at Halibut.Transport.TcpClientExtensions.ConnectWithTimeout(TcpClient client, Uri remoteUri, TimeSpan timeout) in Z:\buildAgent\workDir\3db141632c8c5dde\source\Halibut\Transport\TcpClientExtensions.cs:line 13
at Halibut.Transport.SecureClient.CreateConnectedTcpClient(ServiceEndPoint endPoint) in Z:\buildAgent\workDir\3db141632c8c5dde\source\Halibut\Transport\SecureClient.cs:line 168
at Halibut.Transport.SecureClient.EstablishNewConnection() in Z:\buildAgent\workDir\3db141632c8c5dde\source\Halibut\Transport\SecureClient.cs:line 148
at Halibut.Transport.SecureClient.ExecuteTransaction(Action`1 protocolHandler) in Z:\buildAgent\workDir\3db141632c8c5dde\source\Halibut\Transport\SecureClient.cs:line 69
August 8th 2018 20:14:43Error
Retry attempt 1
August 8th 2018 20:14:43Info
Opening a new connection
August 8th 2018 20:15:04Error
Unexpected exception executing transaction. Halibut.HalibutClientException: The client was unable to establish the initial connection within 00:01:00
at Halibut.Transport.TcpClientExtensions.ConnectWithTimeout(TcpClient client, String host, Int32 port, TimeSpan timeout) in Z:\buildAgent\workDir\3db141632c8c5dde\source\Halibut\Transport\TcpClientExtensions.cs:line 43
at Halibut.Transport.TcpClientExtensions.ConnectWithTimeout(TcpClient client, Uri remoteUri, TimeSpan timeout) in Z:\buildAgent\workDir\3db141632c8c5dde\source\Halibut\Transport\TcpClientExtensions.cs:line 13
at Halibut.Transport.SecureClient.CreateConnectedTcpClient(ServiceEndPoint endPoint) in Z:\buildAgent\workDir\3db141632c8c5dde\source\Halibut\Transport\SecureClient.cs:line 168
at Halibut.Transport.SecureClient.EstablishNewConnection() in Z:\buildAgent\workDir\3db141632c8c5dde\source\Halibut\Transport\SecureClient.cs:line 148
at Halibut.Transport.SecureClient.ExecuteTransaction(Action`1 protocolHandler) in Z:\buildAgent\workDir\3db141632c8c5dde\source\Halibut\Transport\SecureClient.cs:line 69
我不明白这一点,在互联网上找不到任何解决方案。
因此,如果有人知道这个错误是什么,或者如果有人遇到类似的问题并且成功地解决了它,那么一些见解会很有帮助。
谢谢!