[QUESTION] CLI Deprecation warning while update is not there

Must-share information (formatted with Markdown):

  • which versions are you using - CLI (version (6.2.1)
  • im using this product thought azure devops pipelines: SonarScanner CLI
  • how is SonarQube deployed Docker selfhosted
  • what are you trying to achieve I would like to know if the update mechanism is always the same for the CLI one, which seems to be older compared to others things like the task in azure devops, should I just ignore the warning and wait for the update on the CLI version to 7? (I have no plans on using the tasks in the release pipelines)

Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!

##[warning]Task 'Prepare Analysis Configuration' version 6 (SonarQubePrepare@6) is deprecated.
##[warning]This task is deprecated. Please upgrade to the latest version. For more information, refer to https://docs.sonarsource.com/sonarqube/latest/analyzing-source-code/scanners/sonarqube-extension-for-azure-devops/
##[warning]Task 'Run Code Analysis' version 6 (SonarQubeAnalyze@6) is deprecated.
##[warning]This task is deprecated. Please upgrade to the latest version. For more information, refer to https://docs.sonarsource.com/sonarqube/latest/analyzing-source-code/scanners/sonarqube-extension-for-azure-devops/
##[warning]Task 'Publish Quality Gate Result' version 6 (SonarQubePublish@6) is deprecated.
##[warning]This task is deprecated. Please upgrade to the latest version. For more information, refer to https://docs.sonarsource.com/sonarqube/latest/analyzing-source-code/scanners/sonarqube-extension-for-azure-devops/

Hey there.

I think you’re confusing the version of the Azure DevOps Extension task with the version of the SonarScanner. SonarQubeAnalyze@7, for example, uses v6.2.1 of the SonarScannerCLI by default. These two versions are not linked.