简体   繁体   English

Azure DevOps 管道:特定阶段卡在特定机器上的队列中

[英]Azure DevOps pipeline: specific stage gets stuck in queue on a specific machine

  • Specific stage gets stuck in queue only on a specific machine特定阶段仅在特定机器上卡在队列中

  • Shows position in queue: 1, but cannot connect to the agent, even though no other jobs are running and the queue is empty在队列中显示 position:1,但无法连接到代理,即使没有其他作业在运行且队列为空

  • All other stages work fine所有其他阶段工作正常

  • Fault stage works fine on a different machine故障阶段在不同的机器上工作正常

  • Agent is online and enabled代理在线并启用

  • All our agents are self hosted on local machines我们所有的代理都在本地机器上自行托管

  • This stage runs SonarQube analysis本阶段运行SonarQube分析

  • Tried restarting agent, machine, install new one on the same machine尝试重新启动代理、机器,在同一台机器上安装新的

Check wether your Azure DevOps agent has the agent capabilities that may be needed by your stage.检查您的 Azure DevOps 代理是否具有您的阶段可能需要的代理功能 A stage may have certain demands that need to be satisfied by the agent.一个阶段可能有某些需要代理满足的要求。

UPDATE: turns out Java had to be installed not only globally, but also for user account running agent更新:原来 Java 不仅必须全局安装,而且还必须为用户帐户运行代理

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM