How to setup build process to only pull files that changed with last checkin

I am still a rookie when dealing with TeamCity so if this has been asked before, I apologize in advance.

 

I basically want to do a build that will only update the files with the latest check-in into TFS and then only do a build on the solution that will just build the necessary files.  When inside Visual Studio 2015, I can get latest (which updates what is necessary) and then do a build which will build only what is necessary.  However in TeamCity, the files are all retrieved from TFS (even if set to not delete) and then doing a build (with the Visual Studio sln runner), it builds everything.

 

I am not sure on what I want to do can be done and if it can, the steps to do this in TeamCity.  Any assistance would be really appreciated.  Thanks.

0
1 comment

Hi Eric,

all of our VCS clients usually check the revision currently available in the checkout folder, and download all newer revisions from the VCS Root. There is a number of exceptions, as listed here: https://confluence.jetbrains.com/display/TCD10/Clean+Checkout

If this isn't what you mean, please expand on what kind of things are being pulled that you don't want to.

Regarding full builds, we delegate to the microsoft tools. We would need to understand your build configuration to know whether there might be an option to help with that, so please, share a screenshot of the build step and we will take a look on whether something is possible.

0

Please sign in to leave a comment.