Forum Discussion
amitaiemd
Jul 03, 2023Copper Contributor
Azure pipelines, not able to connect TFS repository via Azure repo pipeline
Hi Team, Need one help here, I have 2 pipelines 1) Trigger Pipeline 2) Main Pipeline Trigger Pipeline: Codebase exist here based on TFS repo(I know limitation of having pipelines.yml) and have a pi...
chamindac
Jul 06, 2023Brass Contributor
Hi amitaiemd
YAML piplines as of now does not support TFVC (I think by TFS repo you mean a TFVC repo) and you can find that information https://developercommunity.visualstudio.com/t/enable-yaml-for-tfvc-1/419818
You could however, try a workaround such as downloading TFVC code to your build agent in a YAML pipeline using Azure DevOps REST API https://stackoverflow.com/questions/61375313/azure-pipeline-build-bring-tfvc-project-references-into-git-build.
REST API for https://learn.microsoft.com/en-us/rest/api/azure/devops/tfvc/items/get?view=azure-devops-rest-7.1&tabs=HTTP