【问题标题】:macOS TeamCity Build Agent won't upgrademacOS TeamCity Build Agent 不会升级
【发布时间】:2016-12-30 18:54:41
【问题描述】:

我刚刚设置了 TeamCity,并且正在尝试连接 macOS 构建代理,以便我可以使用 Xcode Project 构建步骤。但是,在 Mac 上安装代理后,它会连接到我的服务器,我对其进行了授权,但它只是在尝试升级时一直卡住。

查看以下日志:

[2016-12-30 18:43:38,909]   WARN - .agent.AmazonPropertiesUpdater - Fetched Amazon EC2 instance metadata does not contain required values. Probably this agent was not started inside Amazon EC2. Is proxy server used?
[2016-12-30 18:43:39,200]   INFO - buildServer.AGENT.registration - Registering on server via URL http://server:8111. AgentDetails{Name='macOS-agent', AgentId=null, BuildId=null, AgentOwnAddress='null', AlternativeAddresses=[192.168.1.100], Port=9090, Version='42538', PluginsVersion='NA', AvailableRunners=[], AvailableVcs=[], AuthorizationToken='309dfc276322e9032f1b8dd10c36d1a1', PingCode='PTlCyAKlgWHkzLTXeSMYSo5fk1PBujzq'}
[2016-12-30 18:43:39,662]   INFO - buildServer.AGENT.registration - Server supports the following communication protocols: [polling, xml-rpc]
[2016-12-30 18:43:39,662]   INFO - buildServer.AGENT.registration - Trying to register on server using 'polling' protocol.
[2016-12-30 18:43:39,986]   INFO - buildServer.AGENT.registration - Registered on server with id 1 and authorization token '309dfc276322e9032f1b8dd10c36d1a1'
[2016-12-30 18:43:39,986]   INFO - buildServer.AGENT.registration - If this is the first time this agent registered on the server make sure it is authorized by administrator in the server web UI.
Upgrade call received from the build server
Will upgrade when become idle

它没有做任何其他事情,只是似乎一直在等待永远“空闲”。

【问题讨论】:

    标签: teamcity teamcity-10


    【解决方案1】:

    在“空闲”大约 40 分钟后,该过程开始并在几分钟后结束。

    所以解决办法就是耐心等待!

    【讨论】:

      猜你喜欢
      • 2012-09-11
      • 1970-01-01
      • 2014-04-30
      • 1970-01-01
      • 1970-01-01
      • 2015-05-07
      • 2020-01-06
      • 2019-12-19
      • 1970-01-01
      相关资源
      最近更新 更多