Jenkins how to get list of installed plugins for docker

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.

  1. Go to http://<jenkins-url>/script

    To get the jenkins script console

  2. Put the below command into the form and press Run

    Jenkins.instance.pluginManager.plugins.each{ plugin -> println ("${plugin.getShortName()}:${plugin.getVersion()}") }

  3. As result you will see a list of installed plugins

Leave a Reply

Your email address will not be published. Required fields are marked *