Hello Everyone, I want to copy files on shared drive through jenkins. and also on the remote server
For copying files on shared drive i used XCOPY E:/foldername/name.war Z:/testfolder Z is the mapped drive. when i run the bat file with these contents through cmd it works fine..but when it is configured in jenkins it gives the following error: *Invalid drive specification 0 File(s) copied Build step 'Execute Windows batch command' marked build as failure Finished: FAILURE* I tried following steps for copying files to remote server installed copy artifact plugin in the job configuration i get following Files to deploy:- Remote directory:- For files to deploy i specify the .war files which is fine For Remote directory ,i dnt seem to make anything work. i tried //machine name/folder and many other combinations. however ,nothing seems to work. below is the error for the same [ArtifactDeployer] - Starting deployment from the build step ... [ArtifactDeployer] - [ERROR] - Failed to deploy. Can't create the directory 'Z:/test' [ArtifactDeployer] - [ERROR] - Failed to mkdirs: Z:/test Build step '[ArtifactDeployer] - Deploy artifacts from workspace to remote directories' changed build result to FAILURE Build step '[ArtifactDeployer] - Deploy artifacts from workspace to remote directories' marked build as failure Finished: FAILURE Can anyone please help me. -- View this message in context: http://jenkins-ci.361315.n4.nabble.com/XCOPY-command-ArtifactDeployer-Plugin-tp4671091.html Sent from the Jenkins issues mailing list archive at Nabble.com. -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.