TeamCity with Local git repositories
Hello,
first of all, I am a quite bit new with this kind of working, so I would like to apologize if my request is redundant.
I would like to switch from tfs to teamcity and my first concern is VCS. How can I use Git instead of tfvc without passing throught github.
Is there a tutorial or screencast or whatever wich explain for a newbie like me to use Git locally with teamcity?
I love the JetBrains philosophy and I really would like work with it, so any help is welcome. .. please.. heeeeelp...
Thank you in advance
Kind regards,
Oliver
Please sign in to leave a comment.
Hi Oliver,
TeamCity has integrations with several git repositories, but you can even use local repositories without much issue. You need to differentiate between two separate processes that will need to access the repository. The teamcity server will check it for changes, will collect the changes and trigger builds upon those changes if configured to do so. The teamcity agent will check out the sources and build the content. Both can reside in the same machine, but don't necessarily do, so you need to configure the repository in the VCS Root in a way that both server and agent have access to it. It can be a path to your own file system, as long as both processes have access to it, or any repository in a shared machine, as long as you have a URL for it.
It would be easier to help if we understood how you migrate from TFS to git, where your target repository will be, so that we can suggest how to configure teamcity for using it.