I am using jenkins 2.361.2 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:
Building remotely on slave_linux01 in workspace /var/jenkins/slave/workspace/Copy_to_Slave [copy-to-slave] Copying 'data/**,jobs/configuration', excluding nothing, from 'file:/var/jenkins/' on the master to 'file:/var/jenkins/slave/workspace/Copy_to_Slave/' on 'slave_linux01'. FATAL: hudson/org/apache/tools/tar/TarInputStream java.lang.ClassNotFoundException: hudson.org.apache.tools.tar.TarInputStream at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476) at jenkins.util.URLClassLoader2.findClass(URLClassLoader2.java:35) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589) 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:524) at hudson.model.Run.execute(Run.java:1899) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44) at hudson.model.ResourceController.execute(ResourceController.java:107) at hudson.model.Executor.run(Executor.java:449) Finished: FAILURE Please let me know what would be the cause for this error. Thanks -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/871a1cac-afa1-444e-9886-ff894f1fa612n%40googlegroups.com.