Detecting changes on new repo

Hi

My problem maybe have simple solution, but i still didnt find the answer so far. 

We have set up our CI server with some projects and build configurations. Then we need to switch repo from test to product which contains a lot o revisions/tags etc. We change VCS root, but TeamCity doesnt see the changes. If we do new commit, TC will catch it and shows in pending changes. But what we want to its TC catch all revisions/tags of new repo like new changes, because we need to build them all. How can i resolve that?

Using latest version of TC, repos are SVN

0
2 comments

Hi Alexey,

When you add a new VCS Root, teamcity will get its information and consider it its starting point. We cannot really trigger on all past commits or tags as you might have thousands of them and that will be a big issue in many instances where the repo exists long before TeamCity has access to it.

If you want to trigger all of them, there should be an easy option: Set up another instance of the repository, configure it in teamcity so the starting point is either empty or an initial commit, then add all the revisions/tags. If you do this through a VCS Trigger, make sure that "trigger a build for each commit" checkbox is selected.

Hope this helps.

1
Avatar
Permanently deleted user

Thanks for your respond.

Already think about creating new bare repo, configure VCS trigger to it and then import all what i need, rebuild and switch repo back to product.

But just a suggestion, maybe it worth it to make a somekind UI button which set that "starting point" for VCS trigger? For example this button make it possible to pick up  specific revision and make it like "start" for trigger. This button would make me sooooo happy)

0

Please sign in to leave a comment.