0
我使用mercurial,我試圖將Jenkins指向自定義目錄。我就遇到了這個錯誤,Jenkins Mercurial不信任文件
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
我已經搜查互聯網和它建議添加trusted
場。我曾嘗試使用下面的代碼~/.hgrc, /etc/mercurial/hgrc, <path-to-workspace>/.hg/hgrc
[trusted]
users = jenkins, root
但它並沒有消除錯誤。
當我是不是使用自定義目錄選項。它成功運行。 安裝Jenkins和存儲庫是在Ubuntu 1204上用root用戶進行的。 任何建議都會有幫助。