This way is a very comfortable way to get a list of installed plugins for Jenkins in the form to use later in plugins.txt for docker.
- Go to http://<jenkins-url>/script
To get the jenkins script console
- Put the below command into the form and press Run
Jenkins.instance.pluginManager.plugins.each{ plugin -> println ("${plugin.getShortName()}:${plugin.getVersion()}") }
- As result you will see a list of installed plugins