Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我只希望我安装在我的机器上的代理在我启动构建时构建。
不确定如何设置代理功能。
我希望代理仅在我启动构建时运行。
我可以将代理功能配置为仅构建由我发起的构建,而不是其他开发人员
您可以设置构建代理的安全性。
转到Project Settings-> Agent pools->Your private Agent-> Security,并将除您之外的所有用户设置为Reader Role:
Project Settings
Agent pools
Security
使用此设置,任何其他成员在排队构建时都无法在代理池列表中看到您的私人代理,只能从代理池中查看。
希望这可以帮助。
您可以设置管道的权限/安全性以控制构建触发器。
要使用您自己的代理,请在管道的需求部分将需求设置为您的代理名称,如下所示 - agent.name 等于 YOUR_AGENT_NAME。
我认为您可以使用代理池:代理池