Thank you for the response but we are currently facing another issue which is while installing plugin’s in new sonarqube version 8.9.9 LTS Developer edition - when we install below plugin’s it’s not allowing to install and gets below error
when we tried installing sonar-java-plugin-5.6.0.15032.jar & sonar-jacoco-plugin-1.0.1.143.jar we get the below error and sonarqube doesn’t startup
ERROR web[][o.s.s.p.PlatformImpl] Web server startup failed: Found a plugin 'JaCoCo' in the directory 'extensions/plugins' with the same key [jacoco] as a built-in feature 'JaCoCo'. Please remove 'extensions/plugins/sonar-jacoco-plugin-2.3.jar'.
`ERROR web[o.s.s.p.PlatformImpl] Web server startup failed: Found a plugin ‘JavaScript/Typescript’ Code Quality and Security’ in the directory ‘extensions/plugins’ with the same key [javascript] as a built-in feature ‘JavaScript/Typescript’ Code Quality and Security’. Please remove ‘extensions/plugins/sonar-javascript-plugin-4.1.0.6085.jar’.
Jenkins build failed with below error saying jacoco is not installed
**19:36:43** Property 'sonar.groovy.jacoco.reportPath' is deprecated (JaCoCo binary format). 'sonar.coverage.jacoco.xmlReportPaths' should be used instead (JaCoCo XML format). Please check that the JaCoCo plugin is installed on your SonarQube Instance. **19:36:43** Coverage information was not collected. Perhaps you forget to include debug information into compiled classes?
Thanks for your quick response…
I’ve removed the plugins shown above, and the only third party plugin we have installed now is Groovy. I am still seeing issues with the scan telling me to install the jacoco plugin
here is the build error -
12:35:55 11:35:54.369 [INFO] [org.sonarqube.gradle.SonarQubeTask] Both 'sonar.groovy.jacoco.reportPath' and 'sonar.coverage.jacoco.xmlReportPaths' were set. 'sonar.groovy.jacoco.reportPath' is deprecated therefore, only 'sonar.coverage.jacoco.xmlReportPaths' will be taken into account. Please check that the JaCoCo plugin is installed on your SonarQube Instance.
and also sonarqube task says file Resource not found error:
> Task :sonarqube **18:09:59** CodeNarc completed: (p1=0; p2=0; p3=0) 16ms **18:09:59** Metric 'test_success_density' is an internal metric computed by SonarQube. Provided value is ignored. **18:09:59** Resource not found: com.squaretrade.cappsbpm.implementation.email.util.FeignExceptionHandlerUtilTest **18:09:59** Resource not found: com.squaretrade.cappsbpm.implementation.email.service.CommunicationTransmissionEmailSenderImpTest **18:09:59** File not found: com/squaretrade/cappsbpm/service/CustomerCommunicationRuleService.java **18:09:59** File not found: com/squaretrade/cappsbpm/exception/SourceRootClientException.java **18:09:59** File not found: com/squaretrade/cappsbpm/consumer/ClaimApprovalEvent.java **18:09:59** File not found: com/squaretrade/cappsbpm/config/CamundaApiSecurityConfig.java **18:09:59** File not found: com/squaretrade/cappsbpm/featuretoggle/SendEmailFeatures.java