-
Bug
-
Resolution: Unresolved
-
Blocker
-
None
-
Prod
I am using jenkins 2.332.3 version and i have "Copy to Slave" plugin version 1.4.4 .
Currently i have problem with copy files slave host.
My jenkins job always fails with below error:
Same plugin happen to work on windows. But failed on centos
[copy-to-slave] Copying 'build-*//14/', excluding nothing, from 'file:/D:/JENKINS_INSTALL//' on the master to 'file:/*/' on 'Server'.
FATAL: hudson/org/apache/tools/tar/TarInputStream
java.lang.ClassNotFoundException: hudson.org.apache.tools.tar.TarInputStream
at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1402)
at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1357)
at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1112)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
Caused: java.lang.NoClassDefFoundError: hudson/org/apache/tools/tar/TarInputStream
at com.michelin.cio.hudson.plugins.copytoslave.CopyToSlaveBuildWrapper.setUp(CopyToSlaveBuildWrapper.java:133)
at hudson.model.Build$BuildExecution.doRun(Build.java:158)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:522)
at hudson.model.Run.execute(Run.java:1896)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44)
at hudson.model.ResourceController.execute(ResourceController.java:101)
at hudson.model.Executor.run(Executor.java:442)