Is it possible to change TeamCity's artifacts path

巧了我就是萌 提交于 2019-12-09 04:21:49

问题


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:

  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)


来源:https://stackoverflow.com/questions/2092604/is-it-possible-to-change-teamcitys-artifacts-path

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!