Problem:
Once the build is complete and the exe runs, we want to take the output and copy it to the mapped network drive. I have been able to get everything to
work until copying the file. The problem is that the file is not copying to the mapped network drive. "The system cannot find the drive specified." is
the message that is being printed by the GO Agent before it terminates the test.
Solution:
Update the exec contents from :
<exec command="copy" args="c:\Users\drivers\Desktop\somefile.txt z:\somefile.txt" />
to :
<exec command="cmd">
<arg>/c</arg>
<arg>copy</arg>
<arg>c:\Users\drivers\Desktop\somefile.txt</arg>
<arg>z:\somefile.txt</arg>
</exec>
Comments
0 comments
Please sign in to leave a comment.