Soumen
Soumen

Reputation: 1036

Where does jenkins store job and node configuration files?

I deployed jenkins in tomcat using war deployment with successful results. Configuring jobs & nodes worked properly and CI works good. I was wondering, where is the information about the job & nodes stored in jenkins? Since I might want to take a periodic backup of the configuration data, to automate another CI in case first CI machine goes down.

Upvotes: 3

Views: 9483

Answers (2)

William Leara
William Leara

Reputation: 10687

In the directory pointed to by the %JENKINS_HOME% environment variable.

More here.

Upvotes: 1

Hauke Ingmar Schmidt
Hauke Ingmar Schmidt

Reputation: 11607

In ~/.jenkins by default, but this can be configured. ~ is the home directory of the user that runs the container (e.g. Tomcat). See the documentation on how to change this (what I recommend).

Upvotes: 2

Related Questions