My Jenkins server is running in Tomcat on Windows 2008 server. I have set up a NFS server on CentOS, Win2008 server can access the NFS shared folder via mount command. I tested it when running as administrator user on Windows. I mount the folder as Z driver on Windows 2008 server. But my job in Jenkins said it can't find the Z driver, I guess Jenkins web app might have not the enough permission to access Z driver. Please see the error message from Jenkins
Console output:
Started by user anonymous
Building in workspace C:\.jenkins\workspace\upland-install
[upland-install] $ cmd /c call "C:\Program Files\Apache Software Foundation\Tomcat 6.0\temp\hudson4487584210513580576.bat"
C:\.jenkins\workspace\upland-install>rd d:\tmp\upland_dist /s /q
C:\.jenkins\workspace\upland-install>xcopy Z:\upland_release\364 d:\tmp /S
**Invalid drive specification**
0 File(s) copied
How to fix this problem? Install Jenkins as a windows service?
A couple solutions: