by Mikael Henriksson
23. June 2010 21:52
I had a delicate issue on the new server. Builds would work for any given period of time and then I got a message about java jada jada jada time out. As it turns out there is a bug with the jgit library that TeamCity uses and unfortunately Jetbrains does not have rights or something to modify this by themselves since it’s a third party library. The strange thing is that it was never a problem on my machine but on the server it turned out to cause problems.
A quick search actually brought me straight to the solution. The information is contained within a YouTRACK issue http://youtrack.jetbrains.net/issue/TW-9574 but I’ll summarize it here in brevity.
- Inside the .BuildServer/config directory create a new file called internal.properties
- Copy the contents from my internal.properties at the bottom
- Download jetbrains.git.zip
- Stop TeamCity
- Delete the .BuildServer\plugins\jetbrains.git folder
- Delete the .BuildServer\plugins\jetbrains.git.zip file
- Copy the new jetbrains.git.zip to .BuildServer\plugins\
- Start TeamCity
teamcity.git.fetch.separate.process=true
teamcity.git.fetch.timeout=0
teamcity.git.clone.timeout=0
That’s it, TeamCity should start checking for changes again. If not I recommend contacting Jetbrains about it.
-Have fun