Hi,

I'm new using Jenkins and I’ve started just a few days ago. I have a
problem when I tried to execute a batch file.
What I want to do:
- I have some XML files on a folder in my local machine (where Jenkins
is running)
- I want to copy these XML files to a folder in another machine, first
I delete the XML files that are already in that machine, then I copy
the new XML files

When I execute "manually" this batch file, everything works fine. All
files are deleted and the new ones are copied.
But when Jenkins tries to execute the batch file, Jenkins always show
the message "Access denied" in the console output after DEL (or ERASE)
and COPY:

C:\jenkins\jobs\Shiva - ZENDEF\workspace>DEL \\172.29.242.20\Jenkins
\Shiva_ZENDEF\PRJ_ZENDEF\trunk\*.xml /Q
Access denied.

C:\jenkins\jobs\Shiva - ZENDEF\workspace>cd PRJ_ZENDEF\trunk\

C:\jenkins\jobs\Shiva - ZENDEF\workspace\PRJ_ZENDEF\trunk>copy *.xml \
\172.29.242.20\Jenkins\Shiva_ZENDEF\PRJ_ZENDEF\trunk
dado.ArqAmostra.cls.xml
Access denied.

I'm using Windows XP SP3 in the Jenkins machine and the other is a
Windows 7.

Does someone can help me?

Thanks!
Regards,
Murilo.

Reply via email to