Skip to content

Instantly share code, notes, and snippets.

@josefsalyer
Created June 5, 2017 11:51
Show Gist options
  • Save josefsalyer/1dc6eb8423f5753f22009a056412f366 to your computer and use it in GitHub Desktop.
Save josefsalyer/1dc6eb8423f5753f22009a056412f366 to your computer and use it in GitHub Desktop.
Get a list of installed jenkins plugins from the groovy console
//Get a list of installed jenkins plugins from the groovy console
Jenkins.instance.pluginManager.plugins.each{
plugin ->
println ("${plugin.getDisplayName()} (${plugin.getShortName()}): ${plugin.getVersion()}")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment