配置jenkins的一个简单的SVN的project,运行时build fail。
org.tmatesoft.svn.core.SVNException: svn: E204900: Error writing entries file for '/test/.jenkins/workspace/test' svn: E204900: Entry '' has inconsistent repository root and url at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:91) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:75) at org.tmatesoft.svn.core.internal.wc.admin.SVNAdminArea14.createVersionedDirectory(SVNAdminArea14.java:1595) at org.tmatesoft.svn.core.internal.wc.admin.SVNAdminArea14Factory.doCreateVersionedDirectory(SVNAdminArea14Factory.java:41) at org.tmatesoft.svn.core.internal.wc.admin.SVNAdminAreaFactory.createVersionedDirectory(SVNAdminAreaFactory.java:241) at org.tmatesoft.svn.core.internal.wc.admin.SVNAdminAreaFactory.createVersionedDirectory(SVNAdminAreaFactory.java:248) at org.tmatesoft.svn.core.internal.wc16.SVNUpdateClient16.doCheckout(SVNUpdateClient16.java:914) at org.tmatesoft.svn.core.internal.wc2.old.SvnOldCheckout.run(SvnOldCheckout.java:66) at org.tmatesoft.svn.core.internal.wc2.old.SvnOldCheckout.run(SvnOldCheckout.java:18) at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:21) at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1239)
原因错的比较离谱:
在配置repository url时写的是http协议,而实际是https环境。修改协议为https解决问题。