The java system property user.home is determine to be the home folder as configured in the operating system for the 'current' user. In the case of a slave node your configuration of the slave user on the slave operating system will determine user.home.
I am interested to know why you would want the user home to be /var/lib/jenkins [image: --] Corneil du Plessis [image: https://]about.me/corneil <https://about.me/corneil?promo=email_sig> On 13 June 2015 at 00:12, Ashish Yadav <[email protected]> wrote: > The system properties for the slave node is showing user.home as > /home/jenkins > > Where is this defined and how do I force/change it to /var/lib/jenkins? > > I already set the $HOME on the slave node to /var/lib/jenkins but the > system properties file is not being updated to reflect that. > > -- > 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/D1A0C38B.F01C%25ashish.yadav%40firemon.com > <https://groups.google.com/d/msgid/jenkinsci-users/D1A0C38B.F01C%25ashish.yadav%40firemon.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/CACPng9asVFJXb5U6J4-iKk_jxeZcd53beqo_1YWfiiHSGyfOoQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
