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 个文件又已经获取到了


↙↙↙阅读原文可查看相关链接,并与作者交流