The drive you see into the user account and the one a services can access are 2 different thing under Windows, try with another path on a local drive after that you will pinpoint the drive usage with the service if this work properly.
If so here some information that can be useful net use \\10.1.1.10\mypath /savecred /user:MyUserName MyPassword According to http://support.microsoft.com/kb/287536 try using the following instead, seem like giving the password may prevent the credential creation even if /savecred switch is given. Use * for password so the password get a prompt, it should always create the credential with that. net use * \\10.1.1.10\mypath /savecred /user:MyUserName Mount Drive for deamon or services 1. download the http://technet.microsoft.com/en-us/sysinternals/bb842062.aspx 2. install the tools 3. open a cmd.exe 4. type psexec -i -s cmd.exe 1. into new shell type whoami 2. should see: nt authority\system 3. mount the drive with net use see above 4. if you ever need to unmount the drive into the same psexec 5. net use z: /delete [image: bodycad] <https://www.bodycad.com/> Jerome Godbout Software Developer 2035 rue du Haut-Bord, Québec, QC, Canada. G1N 4R7 T: +1 418 527-1388 E: [email protected] www.bodycad.com The contents of this email message and any attachments are intended solely for the addressee(s) and may contain confidential and/or privileged information and may be legally protected from disclosure. If you are not the intended recipient of this message or their agent, or if this message has been addressed to you in error, please immediately alert the sender by reply email and then delete this message and any attachments. If you are not the intended recipient, you are hereby notified that any use, dissemination, copying, or storage of this message or its attachments is strictly prohibited. Le contenu de ce message et les pièces jointes sont destinés uniquement pour le(s) destinataire(s) et peuvent contenir des informations confidentielles et / ou privilégiées qui peuvent être protégées légalement contre toute divulgation. Si vous n'êtes pas le destinataire de ce message ou son agent, ou si ce message vous a été adressé par erreur, s’il vous plaît avertir immédiatement l'expéditeur par courriel de réponse, puis supprimer ce message et les pièces jointes. Si vous n'êtes pas le destinataire prévu, vous êtes par la présente informé que toute utilisation, diffusion, copie, ou stockage de ce message ou de ses pièces jointes est strictement interdit. On Tue, Feb 21, 2017 at 1:47 PM, Ryan Hutchison <[email protected]> wrote: > I can map the path with SUBST, but I still end up with > <driveletter>:\workspace -- ideally this could still be shorter. > > I also then have to map a drive X:\ -> C:\Program Files (x86)\Jenkins and > then C:\Program Files (x86)\Jenkins\workspace -> D:\ (ugh) > > RE: OS, I wish I was able to share the same luxury > > On Tuesday, February 21, 2017 at 11:04:49 AM UTC-5, j.spriggs wrote: >> >> Hi Ryan, >> >> >> >> Been there. >> >> >> >> How about setting your JENKINS_HOME to something shorter before you start >> the jenkins server? >> >> >> >> For instance, this works for me: >> >> >> >> JENKINS_HOME=”/jk” java -jar jenkins.war >> >> >> >> [ Obviously, I enjoy the luxury of a sensible OS. ;-) ] >> >> >> >> See the notes at the top of the “Manage Jenkins|Configure System” page >> for more info. >> >> >> >> Good Luck! >> >> -- >> >> jim >> >> >> >> *Von:* [email protected] [mailto:[email protected]] *Im >> Auftrag von *Ryan Hutchison >> *Gesendet:* Dienstag, 21. Februar 2017 16:38 >> *An:* [email protected] >> *Betreff:* Workspace root directory (Jenkinsfile) >> >> >> >> My JENKINS_HOME is C:\Program Files (x86)\Jenkins >> >> >> >> I have allocated a separate drive for my workspace `D:\` and modified the >> global workspace property to reflect this new location. >> >> >> >> When my build job runs (Jenkinsfile), it always goes to >> ${JENKINS_HOME}\workspace. >> >> >> >> My issue is that msbuild ends up failing due to long file names/paths. >> It does not help that the randomly generated ${ITEM_FULLNAME} is quite long >> by itself. >> >> >> >> Any thoughts or pointers would be appreciated. >> >> >> >> -- >> 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 [email protected]. >> To view this discussion on the web visit https://groups.google.com/d/ms >> gid/jenkinsci-users/CAFFG4vjXshWaTHe7hzuqDw890Q20DU2zS01pf3D >> VeQGSubvPbg%40mail.gmail.com >> <https://groups.google.com/d/msgid/jenkinsci-users/CAFFG4vjXshWaTHe7hzuqDw890Q20DU2zS01pf3DVeQGSubvPbg%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> >> ------------------------------ >> >> RAYLASE AG >> Argelsrieder Feld 2+4 >> 82234 Wessling >> Germany >> Tel.: +49-(0)8153/88 <+49%208153%2088> 98-0 >> Fax: +49-(0)8153/88 98-10 <+49%208153%20889810> >> http://www.raylase.de >> >> District Court Munich, HRB 131450 >> >> Board: Dr. Philipp Schön (Chairman), Berthold Dambacher, Christoph von Jan >> >> Supervisory Board: Dr. Ulrich Lohmann (Chairman) >> >> >> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte >> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail >> irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und >> vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte >> Weitergabe dieser Mail ist nicht gestattet. >> >> This e-mail may contain confidential and/or privileged information. If >> you are not the intended recipient (or have received this e-mail in error) >> please notify the sender immediately and destroy this e-mail. Any >> unauthorized copying, disclosure or distribution of the material in this >> e-mail is strictly forbidden. >> > -- > You received this message because you are subscribed to a topic in the > Google Groups "Jenkins Users" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/jenkinsci-users/Us_sfZTgJgk/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/jenkinsci-users/c33792b9-2540-49e9-8b95-610e6efa5ae4%40googlegroups. > com > <https://groups.google.com/d/msgid/jenkinsci-users/c33792b9-2540-49e9-8b95-610e6efa5ae4%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAKmu%2Be3Q-tUK8aeFntnWrhs3zq-cUDJJJfUia-Nk_rx-2iw4VA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
