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:* jenkins...@googlegroups.com <javascript:> [mailto:
> jenkins...@googlegroups.com <javascript:>] *Im Auftrag von *Ryan Hutchison
> *Gesendet:* Dienstag, 21. Februar 2017 16:38
> *An:* jenkins...@googlegroups.com <javascript:>
> *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 jenkinsci-use...@googlegroups.com <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/CAFFG4vjXshWaTHe7hzuqDw890Q20DU2zS01pf3DVeQGSubvPbg%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 98-0
> Fax: +49-(0)8153/88 98-10
> 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 the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/c33792b9-2540-49e9-8b95-610e6efa5ae4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to