jenkins plugin manager available code example
Example 1: get jenkins plugin list
Jenkins.instance.pluginManager.plugins.each{
plugin ->
println ("${plugin.getDisplayName()} (${plugin.getShortName()}): ${plugin.getVersion()}")
}
Example 2: jenkins plugins
For jenkins - Maven Sure fire plugin, Cucumber reporting
For maven - Maven Surefire plugin,maven cucumber reporting
maven compiler plugin for java8