Jenkins Script Console: List installed plugins…

The Jenkins script console can be used to list all installed plugins and their versions fairly easily:

  plugin -> 
    println ("${plugin.getDisplayName()} (${plugin.getShortName()}): ${plugin.getVersion()}")

This can then be used to provision a new node or migrate to a new environment and have the destination Jenkins instance ready to go.

Leave a Reply

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