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: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] 
Im Auftrag von Ryan Hutchison
Gesendet: Dienstag, 21. Februar 2017 16:38
An: jenkinsci-users@googlegroups.com
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-users+unsubscr...@googlegroups.com<mailto:jenkinsci-users+unsubscr...@googlegroups.com>.
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/a59f45ff7b1947a9b1f6becebda52b6f%40raylase.de.
For more options, visit https://groups.google.com/d/optout.

Reply via email to