SONARQUBE_SCANNER_PARAMS vs SONAR_SCANNER_JSON_PARAMS

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)

    SonarQube Scanner 2.17.2 (jenkins)

When running sonar-scanner-npm from jenkins we get this warning:

[WARN] Bootstrapper: SONARQUBE_SCANNER_PARAMS is deprecated, please use SONAR_SCANNER_JSON_PARAMS instead 16:19:24

It seems that the plugin is setting the environment variable with the deprecated version of the name. I couldn’t find any issue or post about it and 2.17.2 seems to be the latest version. Am I missing something?

Hi Erik,

Thanks for your feedback. We created a ticket to review the issue.
In the meantime, you can safely ignore the warning.

Regards

1 Like

Thanks for the feedback Javier!