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.
Please use
/api/plugins/install?key=java, it will automatically installSonarJavaplugins.