TFS 2017 Update1: Programmatically updating TFS Release Definitions removes server phase (manual intervention)

江枫思渺然 提交于 2019-12-25 16:54:52

问题


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.

Can someone else reproduce it?

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


回答1:


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



来源:https://stackoverflow.com/questions/44595575/tfs-2017-update1-programmatically-updating-tfs-release-definitions-removes-serv

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!