VSTS build from multiple repositories

后端 未结 3 471
被撕碎了的回忆
被撕碎了的回忆 2021-01-04 07:08

I have two repositories - one in TFVC and another in Git. There are specific technical reasons for keeping them separate.

The code in TFVC is built on a private buil

3条回答
  •  死守一世寂寞
    2021-01-04 07:48

    For now, there is no way to specify multiple repositories in Get sources step. And there has an user voice Allow TFS build to depend on multiple repositories which suggests similar feature, you can vote and follow up.

    The workaround for now is manually get the files from the other repo.

    Such as, if you specify TFVC repo in Get sources step, then you can add a PowerShell task at the beginning of the tasks, and clone the other git repo by git clone etc.

提交回复
热议问题