Hi, Recently i have configured jenkins and sonar for my python project.
My sonar branch coverage results are not importing into sonarqube. coverage.xml are generating in jenkins workspace. Following are the below jenkins and error details : WARN: No report was found for sonar.python.coverage.reportPaths using pattern coverage-reports/coverage.xml I have tried in my ways but nothing worked. And i use declarative jenkins pipeline in Multibranch project. I expect my coverage results to reflect on sonar. withSonarQubeEnv('Sonarqube') { sh "${scannerHome}/bin/sonar-scanner -Dsonar.login=$USERNAME -Dsonar.password=$PASSWORD -Dsonar.projectKey=${params.PROJECT_KEY} -Dsonar.projectName=${params.PROJECT_NAME} -Dsonar.branch=${params.GIT_BRANCH} -Dsonar.projectVersion=${params.PROJECT_VERSION} -Dsonar.sources=. -Dsonar.language=${params.LANGUAGE} -Dsonar.python.pylint=${params.PYLINT_PATH} -Dsonar.python.pylint_config=${params.PYLINT} -Dsonar.python.pylint.reportPath=${params.PYLINT_REPORT} -Dsonar.sourceEncoding=${params.ENCODING} -Dsonar.python.xunit.reportPath=${params.NOSE} -Dsonar.python.coverage.reportPaths=${params.COVERAGE}" } -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAH%2B0%3DZyQ2jWcOQuGxd9D48A-TaL4yXiwF7z-VfsLsCsy%3DkLhHg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.