新手区 jenkins 构建过程报错

cissysnail · 2015年05月08日 · 最后由 思寒_seveniruby 回复于 2015年05月09日 · 2345 次阅读

jenkins 构建过程失败
报错:

Archiving artifacts
ERROR: Failed to archive artifacts: */target/.war
java.io.IOException: Failed to extract /jenkins/workspace/rpdall_build/transfer of 4 files
at hudson.FilePath.readFromTar(FilePath.java:2299)
at hudson.FilePath.copyRecursiveTo(FilePath.java:2208)
at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:61)
at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:219)
at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:74)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:721)
at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1037)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:670)
at hudson.model.Run.execute(Run.java:1766)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:374)
Caused by: java.io.IOException: Truncated TAR archive

但是从构建后的结果页面上看,需要的 4 个文件又已经获取到了

共收到 1 条回复 时间 点赞

很明显, 文件路径写错了. 这个帖子我删除了

需要 登录 后方可回复, 如果你还没有账号请点击这里 注册