Thanks for the info Hector.

Glad that it worked.


Bye for now,
*Gurusharan S.*

On Wed, Apr 6, 2016 at 10:35 PM, Hector Magnanao <[email protected]>
wrote:

> Hello Gurushan,
>
> These steps worked great !!! One thing that I noticed that restarting
> Jenkins didn't update the JENKINS_HOME variable for me.  I had to actually
> reboot the machine.  After that, I went into Manage Jenkins console and I
> saw the variable change.
>
> Thanks,
> Hector
>
> On Tuesday, March 1, 2016 at 7:51:50 PM UTC-6, Gurusharan S wrote:
>
>> Hello Hector,
>>
>> I see now what's the problem. I believe the environment variables may not
>> be taken by the service, it uses jenkins.xml to get the environment
>> variables. By default, a windows service uses the jenkins directory you
>> give for installation as the jenkins home.
>>
>> Can you please check if the steps in this link help you?
>> http://tech.nitoyon.com/en/blog/2014/02/25/jenkins-home-win/
>>
>> Please note that you MUST not move some of the files from the old jenkins
>> directory and that you need that directory to stay there (I mean you should
>> not be deleting the whole directory).
>>
>> Bye for now,
>> *Gurusharan S.*
>>
>> On Mon, Feb 29, 2016 at 9:09 PM, Hector Magnanao <[email protected]>
>> wrote:
>>
>>> 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]> 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].
>>>>> 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 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].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jenkinsci-users/6ee60ffb-af67-4a5f-aae3-74ff4108dead%40googlegroups.com
>>> <https://groups.google.com/d/msgid/jenkinsci-users/6ee60ffb-af67-4a5f-aae3-74ff4108dead%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 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].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/b5f5f88c-17ea-4906-b18b-2fa503a3dc9c%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/b5f5f88c-17ea-4906-b18b-2fa503a3dc9c%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/CAFohCsiSSrZJraFzUjuOL%2B3mNV8obTBRBv3FjeD1Fpo23Ry7Rw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to