TFS 2017 更新 1:以编程方式更新 TFS 版本定义删除服务器阶段(手动干预) [英] TFS 2017 Update1: Programmatically updating TFS Release Definitions removes server phase (manual intervention)

查看:26
本文介绍了TFS 2017 更新 1:以编程方式更新 TFS 版本定义删除服务器阶段(手动干预)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 TFS 2017 Update 1 中,在使用 REST api 以编程方式下载发布定义后,我编辑了下载的 json 并以编程方式再次上传.

In TFS 2017 Update 1 after downloading programmatically a release definition with REST api, I edited the downloaded json and uploaded again programmatically.

更改已存在.然而,更改后的环境中缺少手动干预的服务器阶段.

The changes are present. However the server phase of manual intervention is missing in the environments after the changes.

其他人可以复制吗?

下载和上传发布定义的程序 C# 位于我的 github 页面 githubpage

The program C# to download and upload the release definition is at my github page githubpage

推荐答案

使用 api-version=3.2-preview.3 而不是 3.0-preview.2更新发布定义.

Use api-version=3.2-preview.3 instead of 3.0-preview.2 when you update the release definition.

这篇关于TFS 2017 更新 1:以编程方式更新 TFS 版本定义删除服务器阶段(手动干预)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆