Created
September 18, 2017 18:01
-
-
Save domofactor/628882dd2404d3a3ed516f352d0c68e0 to your computer and use it in GitHub Desktop.
Script Console cmd for generating a list of installed plugins(and deps) on a Jenkins instance
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
def plugins = jenkins.model.Jenkins.instance.getPluginManager().getPlugins() | |
plugins.each { | |
println "${it.getShortName()}:(${it.getVersion()}):${it.getDependencies()}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment