Azure DevOps "Prepare Sonar Scan" regression in 1.23

Hi SonarSource,

Today’s update of the Azure DevOps SonarCloud “Prepare Sonarcloud scan” task, from 1.22 to 1.23, is generating issues in the Java build+scans. The Builds fail with the following error.

No issues for .net, python or javascript scans.

As a workaround, we reverted our pipeline to 1.22 and everything works just fine.

BTW: the idea to move the issue tracker from github issues to this forum was BAD.

[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin: (default-cli) on project sme-registry-company: You’re not authorized to run analysis. No sonar.login or SONAR_TOKEN env variable was set → [Help 1]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] MojoExecutionException - Apache Maven - Apache Software Foundation

Hello @Andrea_Migliaccio

Thank you for reporting this.

I confirm we noticed the regression internally as well. We’re working on a fix that will be deployed ASAP.

Hi there,

A new version has been deployed just after this one and will fix that issue (you should see 1.23.1 as the prepare analysis configuration task version, might take some time to spread out).

Sorry for the inconvenience here.


1 Like

Hi Mickael, the v1.23.1 actually fixed the issue.

Thank you for addressing the issue so quickly!!


1 Like

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