1. 程式人生 > >jenkins error:java.io.IOException: Failed to create a directory at ...

jenkins error:java.io.IOException: Failed to create a directory at ...

ERROR: Failed to parse POMs
java.io.IOException: Failed to create a directory at /var/lib/jenkins/jobs/game_center_dashboard_test/modules/com.qingning.gamecenter$game_center_dashboard/builds/214/archive/com.qingning.gamecenter/game_center_dashboard/1.0.5
    at hudson.util.IOUtils.mkdirs(IOUtils.java:66)
    at hudson.FilePath
.mkdirsE(FilePath.java:2955) at hudson.FilePath.access$2000(FilePath.java:195) at hudson.FilePath$42$1.visit(FilePath.java:2167) at hudson.util.DirScanner.scanSingle(DirScanner.java:49) at hudson.FilePath$ExplicitlySpecifiedDirScanner.scan(FilePath.java:2845) at hudson.FilePath$42.invoke
(FilePath.java:2162) at hudson.FilePath$42.invoke(FilePath.java:2155) at hudson.FilePath.act(FilePath.java:1018) at hudson.FilePath.act(FilePath.java:996) at hudson.FilePath.copyRecursiveTo(FilePath.java:2155) at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java
:61) at hudson.maven.MavenBuild$ProxyImpl.performArchiving(MavenBuild.java:483) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:855) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1741) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) FATAL: Failed to serialize hudson.model.Actionable#actions for class hudson.maven.MavenBuild java.lang.RuntimeException: Failed to serialize hudson.model.Actionable#actions for class hudson.maven.MavenBuild at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:256) at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:224) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138) at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:209) at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:150) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43) at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:82) at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:37) at com.thoughtworks.xstream.XStream.marshal(XStream.java:1026) at com.thoughtworks.xstream.XStream.marshal(XStream.java:1015) at com.thoughtworks.xstream.XStream.toXML(XStream.java:988) at hudson.XmlFile.write(XmlFile.java:178) at hudson.model.Run.save(Run.java:1899) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1044)

刪除
/var/lib/jenkins/jobs/game_center_dashboard_test/modules/com.qingning.gamecenter$game_center_dashboard/builds目錄下編譯歷史,restart jenkins搞定。