Disable "Multi-Language analysis is enabled" warning for ADOS scanner v7

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    ADOS Prepare Sonar Step 7.0.4
    Sonarqube Enterprise v10.7 (96327)

  • how is SonarQube deployed: zip, Docker, Helm
    docker

  • what are you trying to achieve

The following warning now appears on every project analyzed by v7.

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.

  • what have you tried so far to achieve this

I want to keep multi language analysis enabled without a warning. It pollutes the build logs and displays a warning in the sonarqube UI that confuses our users. Is there a way to achieve this?

It actually looks like this warning persists even when setting it explicitly to true. The only way to remove the warning I can find is to disable multi language analysis, which we do not want to do.

Hi,

This warning will remain until most people have transitioned to a recent version of the scanner.
Unfortunately, we do not have the ability to show “dismissable” messages in the products for now, and this is the only way we can warn users that a new feature has been activated and that they should look at it if they have strange behaviors.

We will remove this warning in 2025 after SonarQube Server 10.9 has been released.

I apologize for the inconvenience.

Denis

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