-
Bug
-
Resolution: Not A Defect
-
Major
-
None
-
Jenkins 2.73.3, Windows 7, Publish over CIfs
We have a batch file which copies files from local machine to network shared folder. The network shared folder has credentials, shared to us. When this batch file is run under windows cmd terminal it successfully copies to the network shared folder. However when the same batch file is run by Jenkins, the Jenkins reports authentication failed :
System.UnauthorizedAccessException: Access to the path '//Network_path_shared_folder' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost) at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost) at System.IO.Directory.CreateDirectory(String path)