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:3.9.1.2184:sonar (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]
[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]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] MojoExecutionException - Apache Maven - Apache Software Foundation