 |
- If you run the server using the runAll or teamcity-server scripts, you can set the options via TEAMCITY_SERVER_OPTS environment variable.
- If you run the server as Windows service, run Tomcat's service configuration editor by executing the command
tomcat6w.exe //ES//TeamCity
in <TeamCity home>\bin directory and then editing the Java Options on the Java tab (for more information see Tomcat 6 documentation).
|
| Property Name |
Description |
| teamcity.data.path |
Edit this property to modify default location of TeamCity data directory |
| modification.check.interval |
Number of seconds between successive polling of VCS servers. The interval's time starts being counted as soon as the last VCS server poll is finished. You can also modify this property in the web UI on Administration > Server Configuration page. |
| TEAMCITY_SERVER_MEM_OPTS |
Set server memory options (JVM options) |
| TEAMCITY_SERVER_OPTS |
Set additional server JVM options |
You will need to restart the server for the option to take effect.
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:
- 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"/>
- Restart the server.
See Also: