我已经用SVN存储库svn://svn.server.com/svn/projects/this_is_the_project/配置了一个多分支管道项目。存储库具有标准的目录格式,例如: 一个project_repo / trunk 一个project_repo /分支 一个project_repo / tags
和配置的凭据具有必需的访问权限。
其中一个分支也有一个Jenkinsfile,我希望在分支索引时会发现它。运行分支索引时,出现以下错误:
[Thu Feb 14 04:41:27 GMT 2019] Starting branch indexing...
Opening conection to svn://svn.server.com/svn/projects/this_is_the_project/
ERROR: [Thu Feb 14 04:41:28 GMT 2019] Could not fetch branches from source svn/projects/this_is_the_project
java.lang.ClassCastException: [[J cannot be cast to org.mapdb.BTreeMap$BNode
at org.mapdb.BTreeMap.put2(BTreeMap.java:663)
at org.mapdb.BTreeMap.put(BTreeMap.java:643)
at org.mapdb.DB.catPut(DB.java:105)
at org.mapdb.DB.createHashMap(DB.java:443)
at org.mapdb.DB$HTreeMapMaker.make(DB.java:216)
at org.mapdb.DB.getHashMap(DB.java:356)
at org.mapdb.DB.getHashMap(DB.java:329)
at jenkins.scm.impl.subversion.SVNRepositoryView.<init>(SVNRepositoryView.java:124)
at jenkins.scm.impl.subversion.SubversionSCMSource.openSession(SubversionSCMSource.java:337)
at jenkins.scm.impl.subversion.SubversionSCMSource.retrieve(SubversionSCMSource.java:240)
at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:355)
at jenkins.scm.api.SCMSource.fetch(SCMSource.java:265)
at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:631)
at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:276)
at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:165)
at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:1022)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:421)
如果我配置了一个不同的仓库,它可以正常工作,但是失败了。有谁知道为什么这失败了? 詹金斯版2.89.2,管道多分支版本,2.16