Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I create build pipeline with Yaml using TFVC?

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

like image 444
Rakesh Suryawanshi Avatar asked Mar 04 '23 11:03

Rakesh Suryawanshi


2 Answers

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

enter image description here

Until now, YAML only supports repositories of git type, and we haven't expanded the feature and YAML grammar to support YAML for TFVC repository.

The only workaround is to migrate your repository from TFVC to Git, but I cannot be sure whether it is feasible for you to migrate, especially if your repository is a bit old. If repos are a little old, migration will make it lose much history including old commits and builds.

On our official suggestion forum, there are many users that have the same demand as you: Make YAML support TFVC. You can vote and comment with your demand there. Our Product Group team and corresponding PMs will review these suggestions and consider take it into the development plan to bring a more flexible experience for the user.

like image 79
Mengdi Liang Avatar answered Mar 10 '23 23:03

Mengdi Liang


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

like image 29
DenverDev Avatar answered Mar 11 '23 01:03

DenverDev