Jenkins failed using Ant Copy Command

1,035 views
Skip to first unread message

john rainier borden

unread,
Nov 14, 2016, 9:10:05 PM11/14/16
to Jenkins Users
Hi!

I'm trying to create a simple freestyle project to build an executable. My build is primarily composed of ant and batch script and is ran via jenkins.

It was able to build the binary but my problem is the build is failing when copying to a shared/mapped drive.

see error below

"Attempt to copy Folder\dist\file.exe to \\shareddrive\file.exe using NIO Channels failed due to 'failed to create the parent directory for \\shareddrive\file.ex'. Falling back to streams. "

I have a separate buildbox that is windows 7 and is working fine, the issue is only happening on my 2 Windows 2008 server

am i missing something? Any response are greatly appreciated.

thanks,
John

niristotle okram

unread,
Nov 14, 2016, 9:12:33 PM11/14/16
to jenkins...@googlegroups.com
Does your jenkins user, have write perm on those failing servers? 
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0963933e-3dbf-45ca-99d9-726690b1aa28%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Sent from mobile device, excuse typos if any.

john rainier borden

unread,
Nov 14, 2016, 9:16:57 PM11/14/16
to Jenkins Users
Thanks for the reply. Yes it does and it seems that the problem only occurs on our Windows 2008 servers.
Reply all
Reply to author
Forward
0 new messages