Is there a tool to validate an Azure DevOps Pipeline locally?

后端 未结 2 1454
不知归路
不知归路 2021-01-31 01:40

When making changes to YAML-defined Azure DevOps Pipelines, it can be quite tedious to push changes to a branch just to see the build fail with a parsing error (valid YAML, but

2条回答
  •  囚心锁ツ
    2021-01-31 02:33

    You can run the Azure DevOps agent locally with its YAML testing feature.

    Use Visual Studio Team Services Agent to install an agent on your local machine and use the agent local YAML testing feature that is available within the agent.

    This should get you very close to the type of feedback you would expect.

    Hope this helps.

提交回复
热议问题