简体   繁体   English

如何检索在VSTS中触发构建时使用的构建参数(使用REST API)?

[英]How can I retrieve the build parameters used when a build was triggered in VSTS (using the REST API)?

I'm trying to figure out how to retrieve the build parameters that were used when a build was triggered in VSTS (using the REST API). 我试图弄清楚如何检索在VSTS中触发构建时使用的构建参数(使用REST API)。

I'm successfully retrieving builds using the following query: 我使用以下查询成功检索了构建:

https://{accountName}.visualstudio.com/{project}/_apis/build/builds https:// {accountName} .visualstudio.com / {project} / _apis / build / builds

... but in the response I can't find the parameters that were used. ...但是在响应中,我找不到所使用的参数。

刚刚在'parameters'属性中找到了参数键值对

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM