2011-12-07 218 views
0

任何人都可以在Jenkins幫助我處理這個Jigomerge錯誤嗎? 我確定它可能是一個配置問題,但我不知道要更改什麼配置。 谷歌搜索顯示Jira門票已關閉,沒有解決問題的解決方案。Jigomerge在詹金斯失敗build

class java.lang.RuntimeException # Failed to reset workspace ! 
java.lang.RuntimeException: Failed to reset workspace ! 
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) 
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) 
at java.lang.reflect.Constructor.newInstance(Constructor.java:532) 
at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77) 
at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:102) 
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:54) 
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182) 
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190) 
at SvnMergeTool.resetWorkspace(script1000004.groovy:283) 
at SvnMergeTool.launchSvnMerge(script1000004.groovy:72) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
at java.lang.reflect.Method.invoke(Method.java:616) 
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) 
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) 
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1054) 
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:884) 
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:704) 
at SvnMergeTool.invokeMethod(script1000004.groovy) 
at hudson.plugins.jigomerge.JigomergeBuilder.perform(JigomergeBuilder.java:101) 
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) 
at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:692) 
at hudson.maven.MavenModuleSetBuild$RunnerImpl.build(MavenModuleSetBuild.java:864) 
at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:620) 
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:462) 
at hudson.model.Run.run(Run.java:1404) 
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:481) 
at hudson.model.ResourceController.execute(ResourceController.java:88) 
at hudson.model.Executor.run(Executor.java:238) 
Build step 'Perform svn merge with Jigomerge' changed build result to FAILURE 

回答

1

找到詳細的指標我看着輸出,發現這詹金斯和jigomerge試圖更新工作空間是名字的遺漏部分之後。這是由於文件夾名稱中有一個空格:My CI build。 帶空格的名稱被認爲是/root/.jenkins/My而不是/root/.jenkins/My\ CI\ build

由於這個原因,文件或目錄不存在的錯誤正在返回,合併失敗。