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" /d:sonar.host.url="$SONAR_URL" /d:sonar.login="$SONAR_TOKEN" /v:"$GitVersion_NuGetVersionV2" /d:sonar.exclusions=${SonarExclusions} /d:sonar.dotnet.excludeTestProjects=${ExcludeTestProjects} /d:sonar.branch.name="$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