moving jenkins_home

28 views
Skip to first unread message

vishad alekh

unread,
Oct 6, 2016, 7:34:06 PM10/6/16
to Jenkins Users
Hi all,

I have installed Jenkins at /home/user path. My. Jenkins folder is also at same path. Now because of space issue I need to move my setup at some other location.
Can anyone please help on how to do the same.

Thanks in Advance


Thanks and Regards
Vishad Alekh

touseef

unread,
Oct 7, 2016, 2:38:50 AM10/7/16
to Jenkins Users
Install the Jenkins at the new place and just copy the jobs folder from previously installed jenkins folder to the new installation folder.This way u will retain all your previously created jobs.
The other thing you can  use is Job Import plugin.May be that will suffice your requirement.

Daniel Beck

unread,
Oct 7, 2016, 5:25:59 AM10/7/16
to jenkins...@googlegroups.com

> On 07.10.2016, at 01:34, vishad alekh <visha...@gmail.com> wrote:
>
> I have installed Jenkins at /home/user path. My. Jenkins folder is also at same path. Now because of space issue I need to move my setup at some other location.
> Can anyone please help on how to do the same.

1. Take a backup
2. cp -a / rsync the entire directory to the new location
3. start from new location (or just symlink old to new and keep using old startup scripts)
Reply all
Reply to author
Forward
0 new messages