snippetMinor
How to restore default Jenkins plugins?
Viewed 0 times
jenkinsdefaultpluginshowrestore
Problem
I do a lot of testing in my Jenkins VM which I have on my local laptop. I found this time-consuming to remove Jenkins and installing again from scratch. It would be better if I have a simple way to restore my Jenkins.
Is there a way to remove all the plugins that I have installed manually and keep the plugins that were installed during Jenkins installation?
Is there a way to remove all the plugins that I have installed manually and keep the plugins that were installed during Jenkins installation?
Solution
One could also use docker Jenkins LTS. If one wants to start from scratch, just remove the mounted Jenkins home folder and there will be a clean Jenkins in no time.
https://github.com/jenkinsci/docker/blob/master/README.md
https://github.com/jenkinsci/docker/blob/master/README.md
Context
StackExchange DevOps Q#3584, answer score: 3
Revisions (0)
No revisions yet.