Created
December 22, 2019 18:51
-
-
Save peterwwillis/b981361d125fc84ae270be92623543b9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// from https://stackoverflow.com/questions/9815273/how-to-get-a-list-of-installed-jenkins-plugins-with-name-and-version-pair#12730830 | |
// the sort version doesn't seem to work on my jenkins install | |
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