Hello,
Can you help me out with this error.
ERROR: Error during SonarScanner execution org.sonar.java.AnalysisException: Your project contains .java files, please provide compiled classes with sonar.java.binaries property, or exclude them from the analysis with sonar.exclusions property.
While running the jenkins pipeline im getting this error and if im adding “sonar.java.binaries=.” OR “sonar.exclusions = **/*.java” the build is not getting complete, its getting stuck in between.
Okay so the build is now successfully running after adding the "sonar.exclusions=**/*.java
" but now the coverage got disappeared itself in the Sonarqube.
Coverage comes from the lcov.info, right? And I have even placed this file, its not even in any of the directory: