Skip to content

Instantly share code, notes, and snippets.

@helton
Created February 8, 2020 23:36
Show Gist options
  • Save helton/21bc778d5c6886af71bd093804775a55 to your computer and use it in GitHub Desktop.
Save helton/21bc778d5c6886af71bd093804775a55 to your computer and use it in GitHub Desktop.
List all Jenkins plugins sorted by name - Open http://JENKINS_HOST:PORT/script and run this script
new ArrayList(Jenkins.instance.pluginManager.plugins)
.sort { it.getShortName() }
.each {
plugin ->
println ("${plugin.getShortName()}:${plugin.getVersion()}")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment