-
Bug
-
Resolution: Unresolved
-
Blocker
-
None
-
Jenkins 1.611
https://wiki.jenkins-ci.org/display/JENKINS/Maven+Repo+Cleaner+Plugin Version 1.2
During builds in Jenkins a slave the following failure occurs:
00:13:06.167 ERROR: Publisher org.jenkinsci.plugins.mavenrepocleaner.MavenRepoCleanerPostBuildTask aborted due to exception 00:13:06.167 java.io.IOException: remote file operation failed: /opt/build/jenkins/workspace/HEAD/.repository at hudson.remoting.Channel@2ac467f0:Build-Slave-1: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@327fe663 00:13:06.168 at hudson.FilePath.act(FilePath.java:987) 00:13:06.168 at hudson.FilePath.act(FilePath.java:969) 00:13:06.168 at org.jenkinsci.plugins.mavenrepocleaner.MavenRepoCleanerPostBuildTask.perform(MavenRepoCleanerPostBuildTask.java:44) 00:13:06.168 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 00:13:06.168 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:764) 00:13:06.168 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:724) 00:13:06.168 at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1046) 00:13:06.168 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671) 00:13:06.168 at hudson.model.Run.execute(Run.java:1769) 00:13:06.168 at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531) 00:13:06.168 at hudson.model.ResourceController.execute(ResourceController.java:98) 00:13:06.168 at hudson.model.Executor.run(Executor.java:374) 00:13:06.168 Caused by: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@327fe663 00:13:06.168 at hudson.remoting.UserRequest.serialize(UserRequest.java:169) 00:13:06.168 at hudson.remoting.UserRequest.<init>(UserRequest.java:63) 00:13:06.168 at hudson.remoting.Channel.call(Channel.java:751) 00:13:06.168 at hudson.FilePath.act(FilePath.java:980) 00:13:06.168 ... 11 more 00:13:06.168 Caused by: java.io.NotSerializableException: org.jenkinsci.plugins.mavenrepocleaner.MavenRepoCleanerPostBuildTask 00:13:06.168 at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1183) 00:13:06.168 at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1547) 00:13:06.168 at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1508) 00:13:06.168 at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431) 00:13:06.168 at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) 00:13:06.168 at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1547) 00:13:06.168 at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1508) 00:13:06.168 at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431) 00:13:06.168 at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) 00:13:06.168 at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) 00:13:06.168 at hudson.remoting.UserRequest._serialize(UserRequest.java:158) 00:13:06.168 at hudson.remoting.UserRequest.serialize(UserRequest.java:167) 00:13:06.168 ... 14 more 00:13:06.359 Skipping publisher since build result is FAILURE
- duplicates
-
JENKINS-15728 Remote slave with Maven Repo Cleaner enabled as post build task fails.
- Resolved