全部,
jenkins在完成編譯後歸檔工件時拋出異常。
這裏去的錯誤消息:詹金斯在歸檔工件時拋出異常
Archiving artifacts
12:35:16 ERROR: Publisher hudson.tasks.ArtifactArchiver aborted due to exception
12:35:16 java.lang.IllegalArgumentException: Negative time
12:35:16 at java.io.File.setLastModified(File.java:1344)
12:35:16 at hudson.FilePath.readFromTar(FilePath.java:2080)
12:35:16 at hudson.FilePath.copyRecursiveTo(FilePath.java:2000)
12:35:16 at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:57)
12:35:16 at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:140)
12:35:16 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
12:35:16 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785)
12:35:16 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:757)
12:35:16 at hu2:35:16 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:706)
12:35:16 at hudson.model.Run.execute(Run.java:1703)
12:35:16 at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:519)
12:35:16 at hudson.model.ResourceController.execute(ResourceController.java:88)
12:35:16 at hudson.model.Executor.run(Executor.java:231) dson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1030)
1
感謝
史蒂芬
是的,你是對的,我已經在我的jenkins配置中刪除了這個歸檔動作,並將我的工件上傳到FTP服務器。 – FlurryWInd