TeamCity: How to setup a build with two VCS roots

后端 未结 1 1954
夕颜
夕颜 2021-02-04 08:42

I have two separate projects from two separate TFS VCS roots that I want to be part of the same build and was wondering if this is possible.

Project 1

1条回答
  •  温柔的废话
    2021-02-04 09:08

    it is possible to have two VCS Roots and change the checkout folder of them (so not check out both in the root folder). For that, change the "Checkout Rule" on our "VCS Roots" dialog and add for your project:

    For Project1:

    +:.=>project1
    

    And for Project2:

    +:.=>project2
    

    Than you get this structure in the root:

    root
      - project1
      - project2
    

    0 讨论(0)
提交回复
热议问题