问题
The default path for teamcity artifacts is
C:\#User#\.BuildServer\system\artifacts
How can i change it to
d:\TeamCity\Artifacts
Thanks
回答1:
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:
- As a Tomcat system property teamcity.data.path (see System Properties for Running the Server)
- In the TEAMCITY_DATA_PATH environment variable (this will be used if the teamcity.data.path JVM system property is not found)
来源:https://stackoverflow.com/questions/2092604/is-it-possible-to-change-teamcitys-artifacts-path