I am setting up a project that uses Azure DevOps pipelines for its continuous integration to run code analysis on SonarQube Server v24.12.0.100206. I have followed the instructions provided by SonarQube, and analysis and publishing of results is working exactly as expected.
However, I am seeing a warning pop up continually on the project overview page, saying:
Multi-Language analysis is enabled. If this was not intended and you
have issues such as hitting your LOC limit or analyzing unwanted files,
please set "/d:sonar.scanner.scanAll=false" in the begin step.
How can I make this warning go away, whether or not I wanted multi-language analysis? Is there a setting I can pass via the extraProperties field that the documentation mentions?
Unfortunately, as of today, there is no way to disable the warning unless you disable the feature by setting the property /d:sonar.scanner.scanAll=false.
However, this warning has been here for a long time now and should be removed.
I have created a ticket in our backlog to remove it in the future.
If I am using the Azure DevOps tasks for this, where can I specify the extra parameters if I wanted to turn off multi-language settings? It’s easy enough when running from the CLI, but I can’t see anything obvious in the SonarQubePrepare task or the other tasks.