Pay attention to the startup method when installing the Azure Pipelines Agent on Windows 10

209469502-34928441-fd79-44f7-938f-9224f5

Last week, I conducted an in-house training on Azure Pipelines in a company. When I demonstrated how to set up the Pipeline Agent locally, I installed it directly on my Windows 10 laptop. Jobs are dispatched to this computer for execution. However, a weird error message appeared when running Pipeline. I finally found out the truth by digging out the source code of CmdLineV2 Task of Azure Pipelines Tasks . In today’s article, I will talk about this little-known landmine!

continue reading

This article is transferred from http://blog.miniasp.com/post/2022/12/26/Never-use-PowerShell-Core-to-Run-Azure-Pipeline-Agent-on-Windows
This site is only for collection, and the copyright belongs to the original author.