如何以编程方式修改构建定义?

编程入门 行业动态 更新时间:2024-10-26 03:23:52
本文介绍了如何以编程方式修改构建定义?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在尝试自动化相对复杂的构建过程。其中一部分涉及更新特定构建定义中的"构建数字格式"值,以便测试人员具有构建修订版号,以便编写错误。这个构建定义更新是一个手动操作。是否可以通过编程方式修改构建定义字段,如果是,如何修改?

Richard Lewis Haggard

I'm attempting to automate a relatively complicated build process. Part of that involves updating the 'Build Number Format' value within a particular build definition so that the test people have a build revision number against which to write bugs. This build definition update is a manual operation. Can the build definition field be modified programmatically and, if so, how?

Richard Lewis Haggard

推荐答案

hi Richard

hi Richard

取决于您是否要使用XAML Build或Build vNext,您需要不同的API。

depending whether you want to use XAML Build or Build vNext you need different API.

您可以查看最近的发布的NuGet软件包 用于Visual Studio Online(和TFS)的.NET客户端库

you may take a look at the recently released NuGet packages .NET client libraries for Visual Studio Online (and TFS)

其中包含用于读取/修改两种构建定义类型的API。

which contains API to read / modify both build definition types.

更多推荐

如何以编程方式修改构建定义?

本文发布于:2023-05-23 14:44:03,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1326143.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:定义   方式

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!