代理版本和平台
2.173.0 上 centos-release-7-6.1810.2.el7.centos.x86_64
它是部署池的发布代理。
Azure DevOps类型和版本
dev.azure.com(云)
什么不起作用?
# Running run once with agent version 2.160.1
./run.sh --once
Scanning for tool capabilities.
Connecting to the server.
2020-08-25 21:31:02Z: Listening for Jobs
Agent update in progress, do not shutdown agent.
Downloading 2.173.0 agent
Waiting for current job finish running.
Generate and execute update script.
Agent will exit shortly for update, should back online within 10 seconds.
‘/root/azagent/_diag/SelfUpdate-20200825-213148.log’ -> ‘/root/azagent/_diag/SelfUpdate-20200825-213148.log.succeed’
Scanning for tool capabilities.
Connecting to the server.
# this now runs indefinitely
有没有办法停止自动更新?生产机器上的多个代理都处于脱机状态,到目前为止,我还不知道如何解决该问题。
编辑:它是部署组中的发布代理。另外,现在有一个Github问题https://github.com/microsoft/azure-pipelines-agent/issues/3093