views:

182

answers:

2

Hi,

I have a build process that relies on git-describe so I want TeamCity to clone the repository instead of only putting the source without git into the /work folder.

I'm using the JetBrains Git plugin, is there another plugin that does that or should I just write another script that does a git clone before doing a build?

Thanks!

+1  A: 

There is pre-Jetbrains plugin, which supports checkout on agent: http://www.knowledgetree.com/blog/continuous-integration-with-teamcity-git

KIR
I think it should be possible to combine these plugins (take checkout on agent part from the old one).
Pavel Sher
Thanks. it worked.Also blogged about it here: http://www.tigraine.at/2009/10/27/setting-up-teamcity-git-psake-for-dotless/
Tigraine
+1  A: 

TeamCity 5.1.1 and up supports this with its default git plugin (info)

orip