teamcityteamcity-5.0

Is it possible to change TeamCity's artifacts path


The default path for teamcity artifacts is

C:\#User#\.BuildServer\system\artifacts

How can i change it to

d:\TeamCity\Artifacts

Thanks


Solution

  • For me the default is D:\BuildServer\system\artifacts

    Yes you can, set the TEAMCITY_DATA_PATH environment variable.

    See here: http://www.jetbrains.net/confluence/display/TCD4/TeamCity+Data+Directory

    By default, the is placed in the user's home directory (e.g. it is $HOME/.BuildServer under Linux and C:\Documents and Settings\.BuildServer) under Windows. Alternatively, you can define this directory in one of the following ways:

    1. As a Tomcat system property teamcity.data.path (see System Properties for Running the Server)
    2. In the TEAMCITY_DATA_PATH environment variable (this will be used if the teamcity.data.path JVM system property is not found)