Including a directory

I have just started using SonarCloud and integrating it with our Azure DevOps pipeline. I have it running a build and pushing the analysis fine for the .NET solution.

However…

Our UI is pure Javascript which isn’t directly part of the solution, and so it’s missed out of the analysis.

Is there any way to have other folders included in the analysis? I was hoping sonar.inclusions would be the answer but that does not seem to be the case.

At the moment I’ve ended up with two different analysis pipelines for each (the JS using the standalone scanner) but ideally I’d like a unified solution.

Thoughts?

Hi @lloydk_hp,

Thanks for posting to the community!

It is true we don’t cover this use case well currently.
We do know that there is demand for “single repo, multiple projects” capabilities.
The good news is that this functionality is on our agenda this year!

Alex