5

Jenkins 插件扩展点

 3 years ago
source link: https://linuxsuren.github.io/blog/devops/jenkins/plugin-dev/jenkins-plugin-extension/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Jenkins 插件扩展点

Jenkins 插件扩展点

接口 hudson.ExtensionPoint 用于自动生成文档

注解 @hudson.Extension 加在实现类上,就可以获取扩展点的实现类列表。

Jenkins.getInstance().getExtensionList(ManagementLink.class).forEach(System.out::println);

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK