Jenkins Mercurial不信任文件
我正在使用mercurial,并试图将Jenkins指向自定义目录。我遇到了这个错误Jenkins Mercurial不信任文件,mercurial,jenkins,Mercurial,Jenkins,我正在使用mercurial,并试图将Jenkins指向自定义目录。我遇到了这个错误 Started by user Netro Building in workspace <path-to-workspace> [workspace] $ hg showconfig paths.default ERROR: Workspace reports paths.default as Not trusting file <path-to-workspace>/.hg/hgrc
Started by user Netro
Building in workspace <path-to-workspace>
[workspace] $ hg showconfig paths.default
ERROR: Workspace reports paths.default as Not trusting file <path-to-workspace>/.hg/hgrc from untrusted user root, group root
Not trusting file <path-to-workspace>/.hg/hgrc from untrusted user root, group root
which looks different than http://ip-address/project so falling back to fresh clone rather than incremental update
ERROR: Failed to clean the repository checkout
但这并不能消除错误
当我不使用自定义目录选项时。它成功地运行了。
Jenkins和repository的安装是在Ubuntu1204上使用root用户完成的。
任何建议都会有帮助。看来,hg无法接受詹金斯作为项目的所有者。默认目录中的Jenkins使用用户Jenkins创建工作区。所以它能够运行它。我在root组中添加了Jenkins,并将项目的所有者从root更改为Jenkins。现在,项目由Jekins更新
[trusted]
users = jenkins, root