Multiple language in Single project

  • Version: SonarQube 9.9 Enterprise Trial
  • how is SonarQube deployed: Docker Container
  • what are you trying to achieve
    we are trying to setup Multiple language project on SonarQube, howevere we are not sure how to implement it and not able to find any documents.
    below are the 2 snippets that we have setup in our code for dotnet and Angular code
 sonarscan: dotnet-tool-depend
       dotnet sonarscanner begin \
               -k:"test" \
           -d:sonar.cs.opencover.reportsPaths="coverage.opencover.xml" \
               -v:"${CM_BUILD_NUMBER}" \
     "sonarurl" \
       dotnet build
       dotnet sonarscanner end \

sonarscan: node-depend
       yarn run sonar ""
   	"-Dsonar.login=token" "-Dsonar.projectVersion=${CM_BUILD_NUMBER}"

if you could help us and suggest how to do this setup, that will be great

Hey there.

You will need to include your Javascript files in your dotnet sonarscanner scan. Check the documentation on SonarScanner for .NET > Analyzing languages other than C# and VB