Recently we upgraded to sonarqube 8.9.9 developer edition but when we tried to publish results currently Jenkins build says resource not found and due to this some files are not being covered - below is the error - could you please check?
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 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
Must-share information (formatted with Markdown):
- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension) - 8.9.9 Developer edition
- what are you trying to achieve - trying to publish coverage/unit test results
- what have you tried so far to achieve this - Tried to install plugin’s required but it didn’t help
Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!