6

我看过几个帖子,但对我没有帮助。我在 Azure 中创建了大约 10 台 Linux 机器并将它们添加到代理池中。

首先,构建成功,但是当我再次将构建排队时,它在获取源时失败,并出现以下错误。

我的构建定义已配置:

  • 干净:真实
  • 清洁选项:来源

错误:

018-03-14T18:08:10.9360932Z ##[command]git clean -fdx

2018-03-14T18:08:11.1202177Z warning: failed to remove builddir/support-files/wsrep.cnf: Permission denied

2018-03-14T18:08:11.1221821Z warning: failed to remove builddir/support-files/sysusers.conf: Permission denied

2018-03-14T18:08:11.1248161Z warning: failed to remove builddir/support-files/CTestTestfile.cmake: Permission denied

2018-03-14T18:08:11.1268109Z warning: failed to remove builddir/support-files/mariadb.pc: Permission denied

2018-03-14T18:08:11.1285043Z warning: failed to remove builddir/support-files/wsrep_notify: Permission denied

2018-03-14T18:08:11.1297658Z warning: failed to remove builddir/support-files/mysql.server: Permission denied

2018-03-14T18:08:11.1309669Z warning: failed to remove builddir/support-files/cmake_install.cmake: Permission denied

2018-03-14T18:08:11.1321349Z warning: failed to remove builddir/support-files/CMakeFiles/CMakeDirectoryInformation.cmake: Permission denied

2018-03-14T18:08:11.1333209Z warning: failed to remove builddir/support-files/CMakeFiles/progress.marks: Permission denied

2018-03-14T18:08:11.1345486Z warning: failed to remove builddir/support-files/mysqld_multi.server: Permission denied
4

1 回答 1

1

根据日志,似乎duilddir/support-files不允许删除该目录(您也可以通过参考帖子Why can't I delete a file where I have group write permissions on?来检查权限)。

请在您的代理工作文件夹下设置删除权限。

于 2018-03-15T03:11:11.090 回答