How to change the jenkins home directory location?
<p>Simple question: How to change the jenkins home directory location? By default it points to /var/lib/jenkins whereas I want it to point to /mnt/home/jenkins. I have changed my $JENKINS_HOME to /mnt/home/jenkins but it doesn't help me.</p>

<p>I am getting jenkins Ui problem. see below error.  If i leave same /var/lib/jenkins/ it's working fine.
HTTP ERROR: 503</p>

<p>Problem accessing /. Reason:</p>

<pre><code>Service Unavailable
</code></pre>

<p>Powered by Jetty://</p>