External Plugin installation not working in Helm chart

I’m running SonarQube LTS Community ( 8.9.10-community) on an Rancher cluster. It is installed using Helm.

I tried to install the external plugins by adding plugins jar link in values.yml file. see below:

plugins:
 install:
   -"https://github.com/SonarOpenCommunity/sonar-cxx/releases/download/cxx-2.0.7/sonar-cxx-plugin-2.0.7.3119.jar"

I have also tried the workaround provided in Plugin installation not working in Helm chart

As specified in this link I tried to run the server without plugin definition in values.yml file and than with plugin with external jar but didn’t got any notification as such There is no “Risk Consent” prompt.

Also tried with Enable persistence no result.

Is there something I’m missing???

Regards,
Sheetal

1 Like

Hi Sheetal,

Could you be explicit about the behavior you’re seeing?

I guess it’s that the plugin isn’t loaded?

Anything interesting in the server logs?

 
Ann

Hi Ann,

External plugin is not loading in server.
I didn’t find anything related with this external plugin as well. see the attached log file.
sonarqubelog.txt (26.7 KB)

Regards,
Sheetal

Thanks Sheetal,

I’m not an expert in this area, so I’m going to flag this for more expert eyes.

 
Ann

1 Like

Hello @Sheetal thanks a lot for taking the time to participate in the community.

We tried replicating your setup with sonarqube-lts on master with that value file ( on local Kubernetes )

Everything succeeded and the plugin is well installed ( we can see that under marketplace section )

But we had to fix the typo between - and " in your snippet.

Could you please try with the following and let us know the result ?

plugins:
  install:
   - "https://github.com/SonarOpenCommunity/sonar-cxx/releases/download/cxx-2.0.7/sonar-cxx-plugin-2.0.7.3119.jar"

Jeremy.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.