Reputation: 173
Can we use intranet TFS for Code along with VSTS for building it using self hosted agents?
i.e. code should be hosted on intranet TFS to avoid sharing of code and Build should be run on local self hosted agent .. but build creation is done on VSTS
Upvotes: 0
Views: 128
Reputation: 33698
First, you can use the files in intranet TFS in the VSTS build.
For Git:
For TFVC, there isn’t the way to get source from TFS in build directly, but you can choose any empty TFVC/git repository in Get sources, then add Download Artifacts-External TFVC task to download the source code in TFS.
Make sure the extranet TFS can be accessible from the private agent.
Secondly, the VSTS is newer than TFS, so some features is better than TFS.
Upvotes: 1