在 sonarqube 中卸载插件:只能作为 SonarSource 版本的一部分卸载



我不小心在SonarQube上安装了分支插件。我们使用免费的商业版。现在它抱怨:

分析暂停。请为商业广告设置有效的许可证 您安装的功能。转到许可证页面。

我尝试通过以下方式卸载插件:

curl -X POST -u "xxx" "https://server.com/sonar/api/plugins/uninstall?key=branch"

我没有找到任何"卸载"按钮或其他东西。

但它的回复是:

{"errors":[{"msg":"SonarSource commercial plugin with key 'branch' can only be uninstalled as part of a SonarSource edition"}]}

如何删除此插件?

谢谢

您可以停止 SonarQube 服务器并手动删除添加的插件(请参阅 SonarQube 服务器上的插件文件夹(。在重新启动期间查看所有SonarQube日志文件,以检查其他问题。