TeamCity Visual Studio Plugin with Git

We would like to implement CI using TeamCity.

We use Git for version control and would like to use the “pre-tested commits” or “personal builds” feature of TeamCity.

Does anyone have any experience with the VS plugin for Teamcity?

As far as I saw, it only supports Subversion, not talking about Git.

Has anyone used this setting successfully?

+7
source share
3 answers

As explained in Pre-Tested Logged Using Git JoergM , you can emulate a solution like TeamCity6.x Personal Builds on Branches using personal repositions:

JoergM's setup for personnal repo .

There is one central Git repository that contains only previously tested changes. I call it "Green Repository" because it should only contain changes that lead to the creation of green ones. Each developer extracts from this repository, but no one can click on it.

Instead, everyone has a personal repository (think if you were on GitHub). The CI server oversees these personal repositories. After the commit, it starts compiling and validating. If it was successful, he is pushing for changes in the Green Repository.

JoergM adds:

The question is whether we will continue to use our own solution or switch to the new Teamcity feature.
So far, I do not see the benefits of Teamcity.
With our solution, we are even more flexible regarding branch design.

This setup is similar to what I described in " What is the smartest use of the source repository you've ever seen?.

+11
source

TeamCity 6.5 has a new feature: remote launch on a branch. It works for Git and Mercurial and does not require an IDE, see here: http://confluence.jetbrains.net/display/TCD65/Branch+Remote+Run+Trigger

0
source

Please note: TeamCity 7.1 has significantly improved support for Git branches. In my opinion, this is much better than the personal build feature.

Relevant documents are available here: http://confluence.jetbrains.net/display/TCD7/Working+with+Feature+Branches

0
source

All Articles