小编Bob*_*bby的帖子

VSTS 构建代理失败,获取源:权限被拒绝

我看过几个帖子,但对我没有帮助。我在 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 …
Run Code Online (Sandbox Code Playgroud)

azure-devops azure-pipelines-build-task azure-pipelines azure-artifacts

5
推荐指数
1
解决办法
1620
查看次数