Created
November 13, 2012 22:57
-
-
Save quidryan/4069004 to your computer and use it in GitHub Desktop.
Jenkins PluginManager hidden exception
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 jenkins = jenkins.model.Jenkins.instance | |
def clt = new jenkins.ClassLoaderReflectionToolkit(); | |
def p = jenkins.pluginManager.activePlugins.find { it.shortName == 'job-dsl' } | |
def name = 'javaposse.jobdsl.plugin.SeedJobsPropertyDescriptor' | |
println clt.findClass(p.classLoader, name) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment