Sonarqube 8.1 sonarqube-community-branch-plugin-1.4.0 not working

  • Hello, I’m having trouble activating the sonarqube-community-branch-plugin-1.4.0 plugin. I throw the relevant file into the extension and add the necessary lines to the sonar.properties file. I’m getting an error can you help?

ERROR
Error occurred during initialization of VM
agent library failed to init: instrument
Failed to find Premain-Class manifest attribute in ./extensions/plugins/sonarqube-community-branch-plugin-1.4.0.jar

sonar.properties
sonar.web.javaAdditionalOpts=-javaagent:./extensions/plugins/sonarqube-community-branch-plugin-1.4.0.jar=web

sonar.ce.javaAdditionalOpts=-javaagent:./extensions/plugins/sonarqube-community-branch-plugin-1.4.0.jar=ce

note: windows 2012 R2 installed sonarqube

Hi @Enes_Selcuk ,

First, your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

8.1 → 8.9.3 → 9.1 (last step optional)

You may find the Upgrade Guide and the LTS-to-LTS Upgrade Notes helpful. If you have questions about upgrading, feel free to open a new thread for that here.

Now to your original problem; This is a 3rd party plugin that is not supported by sonarsource. your best shot is to ask for help at the issue tracker of this plugin.

When I put the plugin in the “C:\sonarqube-8.1.0.31237\lib\common” directory, this plugin works.

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