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 7130147
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T11:19:08+00:00 2026-05-28T11:19:08+00:00

In teamcity I have separate configurations for building, deploying and testing a project. we

  • 0

In teamcity I have separate configurations for building, deploying and testing a project. we would like to chain them together.Basically the ‘build’ configuration does a build triggered by version control check-in and ‘deployment’ configuration deploys the required project files on to the integration server and ‘test’ configuration runs automated tests on the integration server deployed files.

The source code is checked out only when the ‘build’ configuration is run and I want to use the code checked out by this configuration in the ‘deployment’ configuration and once this deploys the files into a particular directory, I want to run the ‘test’ configuration against these deployed files. To achieve this I hardcoded the paths in ‘deployment’,’test’ configuration settings in teamcity currently.

But when we chain them I want the ‘deployment’,’test’ configurations to automatically get the path to the checked out code and the path to the deployed files respectively.

I am not sure if this can be done using teamcity artifacts.Even if it is not sure how to configure it.

Could someone please help.

Thanks

  • 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-05-28T11:19:09+00:00Added an answer on May 28, 2026 at 11:19 am

    The “Build” configuration should publish the source code files and the binaries that it compiles as artifacts. Then you can set up dependencies in the “Deployment” and “Testing” configurations that retrieve these artifacts. That way you should not need to hard-code the path to the source code files.

    One additional thing to think about is build parameters which you can probably use to avoid hard-coding the path to the wherever the binaries are deployed.

    Here are some links to some useful pages in the TeamCity documentation.

    Artifacts

    Artifact Dependencies

    Build Parameters

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

Sidebar

Related Questions

I'm using TeamCity 6.5.1 with one project and about 10 build configurations. I have
I have many build configurations in TeamCity, each servicing a large project. In the
I'm using TeamCity 6.5.4 and I need to have 3 build configurations for the
I have a TeamCity continuous build process setup for a personal GitHub project which
I finally have TeamCity setup to build on Source Control changes, and a separate
I have installed TeamCity on a server machine, but I would like to administer
I have a build in TeamCity which runs against a project file names Web.csproj
I have successfully configured my project for build in TeamCity. Going a step more,
I have a build project that I run from TeamCity, now it takes the
I would like to have TeamCity Artifacts be checked back into source control. I

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.