1

我只是在试用 Thoughtworks,但它不起作用。它无法清理工作目录,也没有告诉我原因。

Clean working directory is set to true. Unable to clean working directory for agent: /var/lib/go-agent/pipelines
4

2 回答 2

6

如果您在构建代理上打开了一个 shell,并且它位于您尝试清理的目录中,您也会收到类似这样的错误。在进行故障排除时,我总是不小心这样做。

于 2014-12-02T11:42:48.157 回答
1

It's hard to say for sure, but it sounds like an issue with permissions on the Go agent. I'd verify that the agent directory and all of the files in it are owned by the user it runs as (probably also named Go depending on your operating system).

It may also be helpful to post your question at https://groups.google.com/forum/#!forum/go-cd

于 2014-03-05T23:39:49.090 回答