Need to create a CICD pipeline with yaml using TFVC repository.
See this doc: Two types of repositories the pipelines support.
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With