Quantcast

What is the easiest way to get Jenkins configuration data?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

What is the easiest way to get Jenkins configuration data?

JR Cary
It would be nice to get a dump that one could reload in
another jenkins installation or to help one configure another
installation.

Thx....John Cary
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: What is the easiest way to get Jenkins configuration data?

Christopher Orr
Hi there,

On 16/01/2012 15:05, John R. Cary wrote:
> It would be nice to get a dump that one could reload in
> another jenkins installation or to help one configure another
> installation.

The configuration information is all under $JENKINS_HOME.  If you copy
that to another machine, you're done.

See this wiki page for more info:
https://wiki.jenkins-ci.org/display/JENKINS/Administering+Jenkins

Regards,
Chris
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: What is the easiest way to get Jenkins configuration data?

JR Cary
On 1/16/12 11:55 AM, Christopher Orr wrote:

> Hi there,
>
> On 16/01/2012 15:05, John R. Cary wrote:
>> It would be nice to get a dump that one could reload in
>> another jenkins installation or to help one configure another
>> installation.
>
> The configuration information is all under $JENKINS_HOME.  If you copy
> that to another machine, you're done.
>
> See this wiki page for more info:
> https://wiki.jenkins-ci.org/display/JENKINS/Administering+Jenkins

Thanks much.

Just so that I understand...  that would copy all the jobs and builds
too?

Thx...John Cary
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: What is the easiest way to get Jenkins configuration data?

Didier Durand
Hi,

As said by Christopher, the jenkins cofnig is represented by the files
(no the directories) that you find on $JENKINS_HOME.

If you also copy the directory, then you will copy the jobs and their
builds as well

If you want to extract easily the jenkins config plus the job configs,
I would suggest to use the ThinBackup plugin:
https://wiki.jenkins-ci.org/display/JENKINS/thinBackup

It will do that for you and copy all the files whereever you want.

regards

didier

On Jan 17, 4:19 am, "John R. Cary" <[hidden email]> wrote:

> On 1/16/12 11:55 AM, Christopher Orr wrote:
>
> > Hi there,
>
> > On 16/01/2012 15:05, John R. Cary wrote:
> >> It would be nice to get a dump that one could reload in
> >> another jenkins installation or to help one configure another
> >> installation.
>
> > The configuration information is all under $JENKINS_HOME.  If you copy
> > that to another machine, you're done.
>
> > See this wiki page for more info:
> >https://wiki.jenkins-ci.org/display/JENKINS/Administering+Jenkins
>
> Thanks much.
>
> Just so that I understand...  that would copy all the jobs and builds
> too?
>
> Thx...John Cary
Loading...