What is the classpath of my plugin's library?

23 views
Skip to first unread message

夏润泽

unread,
Jun 18, 2019, 10:11:49 AM6/18/19
to Jenkins Developers
Hi dev:
    I am working on some plugins, and the kubernetes client library has been introduced in my plugin. This library uses the classloader to initialize something.
    Similar to the classloader I got "io.kubernetes.client.models" in the code to get all the classes prefixed with "io.kubernetes.client.models"
    But actually, he can't find related class files.
    I also found some references on jenkins.io and used UberClassLoader to find it, and it can't find it.
    I would like to ask me how to get these class information? Any help is very useful thanks to everyone!

Best 
RunZeXia

Jesse Glick

unread,
Jun 18, 2019, 1:18:42 PM6/18/19
to Jenkins Dev
On Tue, Jun 18, 2019 at 10:11 AM 夏润泽 <junw...@gmail.com> wrote:
> I also found some references on jenkins.io

Specifically https://jenkins.io/doc/developer/plugin-development/dependencies-and-class-loading/
?

夏润泽

unread,
Jun 18, 2019, 10:16:49 PM6/18/19
to Jenkins Developers
yes
Reply all
Reply to author
Forward
0 new messages