Getting AnalysisException for non-JAVA project

Using SonarQube 6.7.4
The code base is a sample ReactJS project
Running the following sonar-scanner call

sonar-scanner 
  '-Dsonar.login=${env.SONAR_USERNAME}'
  '-Dsonar.password=${env.SONAR_PASSWORD}'
  '-Dsonar.projectDescription=Jenkins build for this report can be found at: https://cd.mastercard.int/jenkins/job/ConsumerSharedComponents/job/kharon-team/job/test-integrate-sonar-for-node-app/146/' 
  -Djavax.net.ssl.trustStore=/etc/pki/ca-trust/extracted/java/cacerts
  -Dsonar.branch.name=trunk
  -Dsonar.scm.disabled=true
  -Dsonar.projectKey=test-react_0.1.0-new1 
  -Dsonar.sources=.

Yields the following error

ERROR: Error during SonarQube Scanner execution org.sonar.java.AnalysisException:
Please provide compiled classes of your project with sonar.java.binaries property

Why is the AnalysisException referring to the sonar.java.binaries properties?
We don’t have any JAVA code in the codebase, its a front-end project (all JS,HTML, CSS and static resources)

Any idea?

Hello,

Can you provide the full anonimyzed logs of your analysis?
It would help us to see which files are indexed, which then will probably tell why the SonarJava analyzer is kicking in for no reason.

Regards,
Michael

Yep…trying to get logs post-haste!
Any utility for doing the anonimzation easily? Search and replace from notepad is tedious :slight_smile: