Where does Jenkins store config files for “Views”?

I have removed some Jenkins views that listed jobs in categories for me. I keep backup of Jenkins filesystem and I now want to restore these views.

Where are the configurations files for Jenkins views stored on filesystem?

Answer

The views are stored in the main config.xml file (JENKINS_HOME or jenkins user home directory).

For my CentOS install, it’s in /var/lib/jenkins/config.xml.

Please have a look to the <views> section.

Attribution
Source : Link , Question Author : Sayid , Answer Author : Bruno Lavit

Leave a Comment