Hi Gurusharan,

Yes, I followed the exact steps that Geoffroy outlined above:

   1. shutdown your jenkins instance
   2. move the folder /path/to/old_jenkins_home to the new location 
   /path/to/new_jenkins_home
   3. create an environment variable JENKINS_HOME, which value is 
   /path/to/new_jenkins_home
   4. start your jenkins instance

I am currently running Jenkins as a windows service.  I noticed that if I 
run the jenkins service from the command line and go into Jenkins, the new 
home directory is reflected.  But when run it as a windows service, the old 
home directory is still showing.  How would I do that so my new home 
directory is reflected from the windows service ?

Hector

On Friday, February 26, 2016 at 9:36:51 PM UTC-6, Gurusharan S wrote:

> Hi Hector,
>
> Did you try the steps Geoffroy had explained?
>
> If so can you please brief us on how you are running Jenkins (windows 
> service, init.d on linux, etc.) and how you followed those steps.
>
> The steps are generic, how ever depending on how you run Jenkins, setting 
> up the environment might be tricky and so, the more information you can 
> provide the better it is to help troubleshoot.
>
> Regards,
> Gurusharan S.
> On Feb 27, 2016 3:16 AM, "Hector Magnanao" <[email protected] 
> <javascript:>> wrote:
>
>> I followed the steps above but when I verified, the old home directory is 
>> still showing up.  How do I change the home directory for my login in 
>> Jenkins to the new Jenkins home ?
>>
>> On Sunday, February 21, 2016 at 10:01:35 AM UTC-6, Gurusharan S wrote:
>>>
>>> Hi Hector,
>>>
>>> On how to verify the new home directory, you need to go to the Configure 
>>> jenkins page: Manage Jenkins -> Configure System.
>>>
>>> Typically the jenkins home directory of the current instance will be 
>>> displayed first in the form.
>>>
>>> Hope this helps,
>>>
>>> Bye for now,
>>> Gurusharan S.
>>>
>>>
>>> On Friday, 19 February 2016 21:21:59 UTC+5:30, Hector Magnanao wrote:
>>>>
>>>> How do I change the home directory for Jenkins without having to 
>>>> reinstall ? And how do I verify the new home directory once it's changed ?
>>>>
>>> -- 
>> 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/eXEvmIA9sYk/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to 
>> [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/e15caf38-d4bb-4a93-848b-8d8a0f0b3a59%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/e15caf38-d4bb-4a93-848b-8d8a0f0b3a59%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/6ee60ffb-af67-4a5f-aae3-74ff4108dead%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to