Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def plugins = jenkins.model.Jenkins.instance.getPluginManager().getPlugins()
- plugins.each {
- def plugin = it.getShortName()
- println "\"${plugin}\";"
- def deps = it.getDependencies()
- deps.each {
- def s = it.shortName
- println "\"${plugin}\" -> \"${s}\";"
- }
- }
Add Comment
Please, Sign In to add comment