且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

代码中的队列Azure devops YAML管道不接受运行时参数

更新时间:2023-11-04 10:27:58

看起来目前无法通过C#SDK传递运行时参数来运行管道.您发现使用 REST API .

It looks that this is not possible at the moment to run pipeline with passing runtime parameters over C# SDK. You found workaround using REST API.

这不是SDK的问题.他们以自己的步调发展.因此,REST API中可用的功能并非总是在SDK中同时可用.它可能会在将来推出,但是目前,如果要以编程方式运行它,则需要使用REST API.

This is not an issue with SDK. They are developed in their own pace. So functionality which is available in REST API is not always available at the same moment in SDK. It could be available in the future, but for the moment if you want to run it programmatically you need to use REST API.