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:
Hi,
I receiving the below error on in my sonarqube instance that i run locally as a means to give some assurance that quality of code i’m importing to our project thats been supplied to us from a 3rd party . Not being a java developer i’m not sure how i can resolve this . the source code provided to us does not the have any .class files in it just “from what i can see” a standard java project.
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.