根据错误消息,
[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 的新功能添加到您的代理功能中。