I am trying to find a way to backup and restore jenkins so that we can automatically provide new jenkins.
I cannot find a way to backup + restore / path / to / jenkins / plugins without including binaries. We would like the backup to be in xml format, like everything else in jenkins. I suggested that we can somehow backup the XML files, and jenkins will be able to recover the plugin binaries if they are missing, since it has access to maven.
I would prefer to avoid using configuration management tools to install plugins, since then I have to manage the versions of the plugins in a way that seems too manageable. I am happy to simply back up what is there and restore it to another location when necessary. Developers should be able to install plugins without me or a puppet.
Googling the problem is difficult because the "plugin" is used in many other contexts.
The link below says that it also manages the plugins, but I can't figure out how it is - maybe I missed something.
http://jenkins-ci.org/content/keeping-your-configuration-and-data-subversion
I transferred the idea of using git, and it generally works, except that the plugins do not reappear magically on the new machine - only the default plugins are returned.
Can anyone tell me?
source
share