cruisecontrol.net - cruise control .net : xcopy not working for copying files to remote server -


i trying copy folder remote machine using xcopy. command executed via cruise control task. can run xcopy source destonremotemachine if running command prompt. if executing cruise control .net, complaining "invalid drive specification" error.

i tried :

> <exec > executable="c:\windows\system32\xcopy.exe"> >                 <basedirectory>$(base)\project</basedirectory> >                 <buildargs>.\*.* remotemachine\project /y</buildargs> >                 <buildtimeoutseconds>10</buildtimeoutseconds> >                 <successexitcodes>-1,0,1</successexitcodes> >               </exec> 

and :

<exec executable="c:\windows\system32\cmd.exe">         <basedirectory>$(base)\project</basedirectory>         <buildargs>/c xcopy $(base)\project\*.* remotemachine /y</buildargs>         <buildtimeoutseconds>30</buildtimeoutseconds>         <successexitcodes>-1,0,1</successexitcodes>       </exec> 

any suggestions?

thanks answer. putting xcopy in batch not helpful, problem else. here problem:

it problem account on cruise control .net service running. running local service. not able see network path. changed ccnet service run on domain account have permission read/ write on remote machine. solved problem.

thanks.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -