Branch Remote Run Trigger recopies entire git repo to the agent

We've got a branch remote run trigger set up on a build.  Anytime it fires TC recopies the entire repo (git) from the server to the agent.  In our case this is a 500MG+ repo and the network connection is very slow.  It takes over 45 minutes.

Regularly triggered builds on master seem to only copy the changes and are very quick.  The remote run branches are always forked from master typically are just a couple commits away.  A full repo copy doesn't seem necessary.  Is there some way we can change our remote run setup so these full repo copies are not necessary?  


Comment actions Permalink


you can switch to agent-side checkout with local mirror option enabled (see for details). Also following issue seems to be relevant to your problem:

Comment actions Permalink

Thanks, I'll give the local mirror option a try.


Please sign in to leave a comment.