Possible to deploy Jenkins artifacts to NFS share from windows slave?

637 views
Skip to first unread message

ha...@uprev.com

unread,
Oct 16, 2013, 5:57:53 PM10/16/13
to jenkins...@googlegroups.com
I am trying to use the ArtifactDeployer plugin to deploy to something to an NFS share.  I have a windows slave which has been confgured as an NFS client and the NFS share is mapped to drive letter Z.

I have verified that my user has read and write permissions by performing operations in windows explorer under this drive letter.  And I have Jenkins running as a service, under the same user's credentials.  But when the service tries to perform file operations on this share, I only get errors.

I have tried setting the ArtifactDeployer destination to the Z:\path\to\stuff and also in the format of hostname:/path/to/stuff  and neither seem to work.

[ArtifactDeployer] - [ERROR] - Failed to deploy. Can't create the directory 'Z:\path'

Any ideas what could be going on?

Hans

Slide

unread,
Oct 16, 2013, 6:30:09 PM10/16/13
to jenkins...@googlegroups.com
One thing to note is that drive mappings are not kept for applications running as services, which means if you map something as Z:\ for the user, that mapping does NOT exist for the service running as that user. You may need to run the command to mount the NFS share before copying.


--
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-use...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
Website: http://earl-of-code.com

k.thi...@comcast.net

unread,
Oct 17, 2013, 8:11:34 AM10/17/13
to jenkins...@googlegroups.com
You might also be able to use a symlink that points to the mapped/network drive


From: "Slide" <slide...@gmail.com>
To: jenkins...@googlegroups.com
Sent: Wednesday, October 16, 2013 5:30:09 PM
Subject: Re: Possible to deploy Jenkins artifacts to NFS share from windows slave?
Reply all
Reply to author
Forward
0 new messages