运行java管道的代理问题

问题描述 投票:0回答:1

以上是我无法获取代理的错误描述,尽管代理在线且可用

Pipeline logs

azure azure-devops continuous-integration azure-pipelines azure-repos
1个回答
0
投票

根据错误消息,

[error]No agent found in pool new1 which satisfies the specified demands: maven, Agent.Version -gtVersion 2.182.1
,您池中的代理不包含所需的功能maven

在 Maven 任务的 Requirements 中:自托管代理必须具有满足以下要求的功能才能运行使用此任务的作业:maven。

首先,你应该确保你已经在agent上安装了maven。然后您可以参考配置代理功能中的步骤,将名为 maven 的新功能添加到您的代理功能中。

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.