简体   繁体   English

服务器启动时激活了自定义SonarQube插件

[英]Custom SonarQube plugin activated at server startup

I developed a custom SonarQube widget as a plugin which is able to synchronize the LDAP groups to the SonarQube database when the user press a button. 我开发了一个自定义的SonarQube小部件作为插件,当用户按下按钮时,该小部件能够将LDAP组同步到SonarQube数据库。 source: https://github.com/bakaibalazs/SonarQube-LDAPGroup-Synchronizer 来源: https : //github.com/bakaibalazs/SonarQube-LDAPGroup-Synchronizer

I would like to execute this synchronization process every time when the server starts up. 我希望每次服务器启动时都执行此同步过程。 Is it possible? 可能吗? What is the preferred way to code is as a custom extension? 作为自定义扩展,首选的编码方式是什么?

Thanks. 谢谢。

这是可能的,应该使用特定的ServerExtension ServerStartHandler来实现。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM