TeamCity 代理权限

问题描述 投票:0回答:0

我正在向我的 TeamCity 构建池添加另一个代理。

这是我在分配代理构建项目时收到的错误消息

Agent failed to create build temp directory at /home/switchbuild/BuildAgent/temp/buildTmp.
Please check agent has necessary permissions and there is enough free space on disk.

BuildAgent 服务器上有足够的空间

build5:~/BuildAgent/temp$ df -h
Filesystem             Size  Used Avail Use% Mounted on
udev                   3.9G     0  3.9G   0% /dev
tmpfs                  798M   18M  781M   3% /run
/dev/sda1             1000G   40G  910G   5% /

所以我知道这不是有足够可用空间的问题。

如何授予 BuildAgent java 服务在其自己的工作区中创建文件夹的权限?

文件路径是构建机器的本地路径,所以这个问题没有帮助。

teamcity
© www.soinside.com 2019 - 2024. All rights reserved.