How can we improve Azure DevOps?

Allow TFS build to depend on multiple repositories

This suggestion is migrated to Developer Community. Please use below link to view the current status.
https://developercommunity.visualstudio.com/content/idea/365522/allow-tfs-build-to-depend-on-multiple-repositories.html
Many other build systems allow dependencies on multiple source repositories ( even different ones - i.e. Git and SVN).

I currently have setup a TFS project that has multple Git repos and TFS source repositories. I have builds that depend on a mixture - for instance a main build has a dependency on a Git repo that contains 3rd party dependencies. While there is a work around with the general command line support, it would be much more clear to define the source dependencies up front. I should be able to specify the branches on those via variables also. I know that TeamCity supports multiple source control repos. Take a look at that implementation.

423 votes
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)

    We’ll send you updates on this idea

    Jason shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    26 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...
      • Kjetil Smith commented  ·   ·  Flag as inappropriate

        3 votes; why not publish the code to do "clone git's" in this repro:

        https://github.com/Microsoft/vsts-tasks/tree/master/Tasks

        Since it's possible to add different repro'es in the old TFVC (same collection), but why not git. We have also looked at the git submodules:

        https://git-scm.com/book/en/v2/Git-Tools-Submodules

        and the SSH public keys :

        "_details/security/keys"

        The ideal solution should be to add different git repositories just as the simple one you clone;-)

      • alvipeo commented  ·   ·  Flag as inappropriate

        This would be great for Angular 4+ and .NET Core MVC projects. So when Angular 4 project is built, .NET Core MVC is also gets built afterwards.

        If there's another way of doing this, please let me know.

      • Stan commented  ·   ·  Flag as inappropriate

        Building multiple GIT repositories in a single Team Project needs to happen for VSTS because we can't use it until then. We'll have to continue using TeamCity instead.

      • Dan commented  ·   ·  Flag as inappropriate

        Now that TFS/VSTS allows for multiple repositories in a single Team Project, this is a much needed feature. I work as consultant in the DevOps space to recommend tools and help companies manage their SDLC's and mature their process. Recently on this topic I've gotten a lot of strange looks when I tell clients how they have to manage multiple repositories in a single build with TFS/VSTS. This should be easy for the end-users and built directly in the tool without the need for script hacking and/or git manipulations.

      2 Next →

      Feedback and Knowledge Base