Can we Scan .NET and React Native code same time using YAML file

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    SonarQube
  • how is SonarQube deployed: zip, Docker, Helm
    Zip
  • what are you trying to achieve
    Trying to Generate repository scan with YAML file and push into Sonarqube hosted URL
  • what have you tried so far to achieve this
    we scanned individually from .NET code and UI (React native) code able to publish
    Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!

we are trying to integrate our repository with YAML file which is having

API ( .NET Code)
UI (React Native Code)

we want to scan both folders same time, while we push any changes to repo , using YAML file publish the sonar scan results .

will this be possible to scan same time two different code bases ??

Please help us to share the YAML file for this

Hi @VenkataSiva0326,

I am not sure what you mean by “using YAML file”.

I will assume this is you want to scan both .NET projects and JS files in one go. This is possible if you use as esproj in the VS solution that embeds your Javascript.

Otherwise, if your frontend and backend projects are completely separate, then your best option is to use SonarQube’s monorepo support at this time, but it is only in the Entreprise edition and above.

Denis