I am running a Jenkins job that invokes the following command to copy files from a network share:
xcopy /S /I "\\depot\%depot%\GMM\v%version%\app\*" "%WORKSPACE%\app"
The job often runs OK, but on a few occasions (maybe 1 out of 10 times) the xcopy job terminates without error sometime before all of the files are copied.
The network is stable and I know of no events that might disrupt the transfer.
Why does this happen?