是否可以更改 TeamCity 的工件路径 [英] Is it possible to change TeamCity's artifacts path

查看:44
本文介绍了是否可以更改 TeamCity 的工件路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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:

  1. 作为 Tomcat 系统属性 teamcity.data.path(参见 System运行服务器的属性)
  2. 在 TEAMCITY_DATA_PATH 环境变量中(这将是如果 teamcity.data.path JVM 使用未找到系统属性)

这篇关于是否可以更改 TeamCity 的工件路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆