Issue when I use the version 5.9 of dotnet-sonarscanner

Hello everyone, I have a question.
Today, I tried to run my pipeline on Gitlab, and when the stage trying to execute the command

dotnet sonarscanner begin /k:"$SONAR_PROJECT" /"$SONAR_URL" /d:sonar.login="$SONAR_TOKEN" /v:"$GitVersion_NuGetVersionV2" /d:sonar.exclusions=${SonarExclusions} /d:sonar.dotnet.excludeTestProjects=${ExcludeTestProjects} /"$CI_COMMIT_REF_NAME" /d:sonar.coverageReportPaths="${CI_PROJECT_DIR}/sonarqubecoverage/SonarQube.xml"

that fails with the error

Unexpected character encountered while parsing value: <. Path ‘’, line 0, position 0.

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    ** SonarQube 8.9.6
    ** Donet-sonarscanner 5.9
  • what are you trying to achieve
    ** Test the same pipeline with version 5.8 of dotnet-sonarscanner → the pipeline succeed

Looks like we have the same issue Dotnet Sonar scanner 5.9.0 does not preserve relative part of

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