How can I create build pipeline with Yaml using TFVC?

六眼飞鱼酱① 提交于 2020-06-08 13:43:21

问题


Need to create a CICD pipeline with yaml using TFVC repository.


回答1:


See this doc: Two types of repositories the pipelines supported.

Until now, the YAML only support the repository of git type, and we haven't expand the feature and YAML grammer to support the YAML for TFVC repository.

Since only one workaround is migrate your repository from TFVC to Git, but I could not sure whether it is feasible for you to do migrate, especially if your repository is a bit old. If repos is little old, migrate will make it lost many history include old commits and builds.

On our official suggestion forum, there has many users have the same demand with you: Make YAML support TFVC. You can vote and comment with your demand there. Our Product Group team and corresponding PMs will reviews these suggestion and considering take it as develop plan to bring more flexible experience for user.




回答2:


YAML pipelines are only supported with GIT repositories, although this is not well documented by Microsoft. You will not be able to use YAML to build your pipelines in TFVC. While its not a option for everyone, you could look into converting your TFVC project into a GIT repository.

Azure DevOps TFVC to GIT Conversion



来源:https://stackoverflow.com/questions/57791669/how-can-i-create-build-pipeline-with-yaml-using-tfvc

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