简体   繁体   English

在Sonar Qube中安装php插件

[英]Installing php plugin in Sonar Qube

I am trying to install to php plugin in SonarQube. 我试图在SonarQube中安装到php插件。 I have downloaded the latest versions. 我已经下载了最新版本。 I followed the steps mentioned here SonarQube Installing a Plugin 我按照此处提到的步骤SonarQube安装插件

From the Update Center -> Available Plugins I selelcted php and clicked install. 从更新中心->可用插件中,我选择了php,然后单击安装。 And I got the message "SonarQube needs to be restarted in order to install 1 plugins". 我收到消息“ SonarQube需要重新启动才能安装1个插件”。 After that I restarted SonarQube server. 之后,我重新启动了SonarQube服务器。 But I can't see Php plugin under Installed plugins. 但是我在“已安装的插件”下看不到Php插件。 I found that the php plugin jar file has been been downloaded to /sonar/extensions/downloads/ folder but its not installed. 我发现php插件jar文件已下载到/ sonar / extensions / downloads /文件夹,但尚未安装。 I moved this file manually to /sonar/extensions/plugins and restarted the SonarQube server. 我将此文件手动移至/ sonar / extensions / plugins并重新启动了SonarQube服务器。 But still its not showing as installed. 但仍未显示为已安装。 Any help ? 有什么帮助吗?

Probably your jar file is corrupted. 您的jar文件可能已损坏。 Try to remove it and download again. 尝试将其删除并再次下载。

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

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