是否可以更改 TeamCity 的工件路径 [英] Is it possible to change TeamCity's artifacts path
问题描述
teamcity 工件的默认路径是
The default path for teamcity artifacts is
C:\#User#\.BuildServer\system\artifacts
C:\#User#\.BuildServer\system\artifacts
怎么改成
d:\TeamCity\Artifacts
d:\TeamCity\Artifacts
谢谢
推荐答案
对我来说默认是 D:\BuildServer\system\artifacts
For me the default is D:\BuildServer\system\artifacts
是的,您可以,设置 TEAMCITY_DATA_PATH 环境变量.
Yes you can, set the TEAMCITY_DATA_PATH environment variable.
参见此处:http://www.jetbrains.net/confluence/display/TCD4/TeamCity+Data+Directory
默认情况下,放置在用户的主目录(例如它是Linux 下的 $HOME/.BuildServer 和C:\文档和设置\.BuildServer)在 Windows 下.或者,您可以在其中之一中定义此目录以下方式:
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:
- 作为 Tomcat 系统属性 teamcity.data.path(参见 System运行服务器的属性)
- 在 TEAMCITY_DATA_PATH 环境变量中(这将是如果 teamcity.data.path JVM 使用未找到系统属性)
这篇关于是否可以更改 TeamCity 的工件路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!