TeamCity
 
You are viewing the documentation for an earlier version of TeamCity.

System Properties for Running the Server

Last modified: 20 April 2023

Various aspects of TeamCity's behavior can be customized through a set of JVM options. The options can be specified using the -D parameter passed to the JVM running the TeamCity server or agent. e.g.

-Dteamcity_logs=../logs/

You will need to restart the server for the option to take effect.

Server-only Properties



Server and Agent Properties



Other Server Configurations



Turning off code highlighting in the web diff



The highlighting uses a third-party native library that may not be available for your platform. If TeamCity fails to cope with this or the library causes unstable behavior on the server, you can disable the use of this library.

To disable the Colorer library:

  1. Edit <TeamCity Home>\webapps\ROOT\WEB-INF\buildServerSpringWeb.xml and change the "enableColorer" property value to false by locating the following fragment: <property name="enableColorer" value="true"/> and changing it to <property name="enableColorer" value="false"/>

  2. Restart the server.