Can I run two instances of TeamCity on the same build server?
Hello
Can I run two instances of TeamCity on the same build box?
In our department there are several teams, one of which is using TeamCity 3.x (Professional Server), using all three free build agents.
The team I work for is attempting to move our code into continuous integration and we want to use another free Professional Server TeamCity instance on the same machine.
What do I need to do to make these two run alongside each other? Change the ports in ./conf/server/xml?
Paul
Please sign in to leave a comment.
I do not think it is possible because TeamCity server depends on some native libraries. Native code can be loaded to the JVM only once.
Thanks Pavel,
In fact I don't need to run two instances of TeamCity in the same JVM, just on the same box.
My question was about making sure that changing the ports was all I needed to do to make the instances quite separate.
Regards
Paul McKenzie
Hello Paul,
You should make sure these TeamCity instances have different TeamCity data path (you can set it via environment variable).
Please read more at http://www.jetbrains.net/confluence/display/TCD4/TeamCity+Data+Directory
Regards,
KIR