Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8978869
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T19:42:37+00:00 2026-06-15T19:42:37+00:00

Is it possible to get two builds to checkout on the same directory and

  • 0

Is it possible to get two builds to checkout on the same directory and how can this be done please?

Currently the two different builds are checking out to two different directories.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T19:42:38+00:00Added an answer on June 15, 2026 at 7:42 pm

    You can accomplish this by taking control of the checkout directory locations.

    First you need to define your checkout directory to something that can be known to both builds. In your build configuration, browse to Version Control Settings -> Checkout Settings. Change the Checkout Directory setting to Custom Path. You’ll then be prompted to provide the directory to which you want to checkout your source. This can be anywhere you want**, as long as TeamCity has write privileges there.

    Next, you need to modify the Checkout Rules (also on Version Control Settings) for each project such that they are targeting a folder relative to the root of the Checkout Directory. You can do this by setting the rule to +:%some.repo.path%=>/%some.sub.folder%. You could prescribe any subfolder you want there. We just checkout everything to the Checkout Directory root (=>/).

    If both projects are referencing the same Checkout Directory, then this combination of setting should give you the control and flexibility that you’re looking for.

    ** For our Checkout Directory we use the parameterized value %teamcity.agent.work.dir%\%system.teamcity.projectName%\%branch%. The first two parameters are TeamCity system parameters, and the the last is defined by us. On our system this resolves to G:\BuildAgent\work\$PROJECT\$BRANCH, which keeps everything tidy and predictable.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Get a list of dates between two dates This is my sql:
Is it possible to get two separate programs to communicate on the same computer
is it possible with basic ASP.net controls or Telerik's RadControls to get a two
Possible Duplicate: Calculating the Difference Between Two Java Date Instances How do I get
Is it possible to combine two md5 sums of a sentence to get the
I am trying to work out if it is possible get JPA to persist
does anyone know how to (if possible) get the owner of the tag on
Possible Duplicate: Get variable name. javascript “reflection” Is there a way to know the
Possible Duplicate: Get file name from URI string in C# How to extract file
Possible Duplicate: Get the resolution of a jpeg image using C# and the .NET

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.