[英]How can i know that a pipeline is using a microsoft hosted agent when running a pipeline?
In the project i'm working on, when i run some of the pipelines, they are configure to use by default an old agent pool that supposedly doesn't exist anymore.在我正在处理的项目中,当我运行一些管道时,它们被配置为默认使用一个据说不再存在的旧代理池。
If i go to Project settings > Agent pools
i don't see it there anymore.如果我将 go 转到Project settings > Agent pools
,我再也看不到它了。
My question is if when i run the pipeline我的问题是当我运行管道时
If there is any place i can use to tell if the pipeline is using a self-hosted or microsoft-hosted agent?如果有什么地方我可以用来判断管道是使用自托管代理还是微软托管代理?
The answer of @VinceBowdren gives an hint how we can get information about the agent of the running pipeline. @VinceBowdren 的回答提示了我们如何获取有关正在运行的管道的代理的信息。
But specifically about the agent pools asked in the question, "Hosted" and "Hosted VS2017", they are deprecated microsoft hosted agents.但特别是关于“托管”和“托管 VS2017”问题中提出的代理池,它们是已弃用的微软托管代理。 Thats the reason they dont appear anymore in the agent pools list.这就是它们不再出现在代理池列表中的原因。
Pipelines that are configured using this agent pools will still be able to use them, but as soon as we save the pipeline to use another agent pool, it will not be possible to use them ever again.使用此代理池配置的管道仍然可以使用它们,但是一旦我们保存管道以使用另一个代理池,就不可能再次使用它们。
We can confirm that these agent pools were deprecated here https://docs.microsoft.com/en-us/azure/devops/release-notes/2019/sprint-155-update#single-hosted-pool我们可以确认这些代理池已在此处弃用https://docs.microsoft.com/en-us/azure/devops/release-notes/2019/sprint-155-update#single-hosted-pool
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.