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-126.96.36.19932.jar & sonar-jacoco-plugin-188.8.131.52.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'.
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