- 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" \
-d:sonar.coverage.exclusions="**Test*.cs"\
-v:"${CM_BUILD_NUMBER}" \
-d:sonar.host.url="sonarurl" \
-d:sonar.login="token"
dotnet build
dotnet sonarscanner end \
-d:sonar.login="token"
sonarscan: node-depend
yarn run sonar "-Dsonar.host.url=sonarurl"
"-Dsonar.login=token" "-Dsonar.projectVersion=${CM_BUILD_NUMBER}"
if you could help us and suggest how to do this setup, that will be great