Java code ignored in scan

Hi,

I am new to Sonarcloud and I just added my first project from Github. It is a private repo from my org. The scan made a report for JS/CSS/HTML/XML files but completely ignored the Java files which is the bulk of the project. My cursory research shows that it could be because of our unusual code directories setup. Is there any workaround?

Regards,
Arun

Hey there.

So… what’s your directory setup like?

Our repo is a monorepo and I did not set it up as one in Sonarcloud.
I am setting it up now.
Will keep this thread posted.

Regards,
Arun

I setup a monorepo and then setup a Github action as guided by the wizard. I had to add a working directory change to the yaml file to make it work.

Now I am able to analyse the project.

Thanks

Regards,
Arun

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.