简体   繁体   中英

Installing a SonarQube Plugin Programmatically

I have a SonarQube service and API deployed in containers as part of my build pipeline. The SonarQube service needs to have the SonarJava plugin installed to understand my code rules.

As it's not an option to manually install this plugin, I'd like to do it through the API.

I saw this post: How to install or uninstall SonarQube plug-ins with HTTP? which seemed helpful, however attempting "POST /api/plugins/install?key=SonarJava" hasn't led to much success.

Thanks in advance.

请使用/api/plugins/install?key=java ,它会自动安装SonarJava插件。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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