Must-share information (formatted with Markdown):
- Lastest version of Azure Devops tasks: SonarQubePrepare@5, SonarQubeAnalyze@5, SonarQubePublish@5
- SonarQube Version 9.7
The gold is to let SonarQubePublish find the
report-task.txt where the file full path contains special charateers.
In Azure DevOps, the sonar
report-task.txt full path contains the pipeline BuildNumber.
I have special charaters brackets
 in my BuildNumber, and I cannot remove it, because we have many pipeline name including
, it’s an entreprise naming convention. As per bug reported here and here, I would like to workaround it by change the value of
sonar.scanner.metadataFilePath in order to prevent from using the default one which contains build name in the path, so with the special char
I tried following values like in the file
sonar-project.properties or directly as
but none of them worked.
BTW, I’m sure the config file path
extraProperties is good, because I have other sonar settings defined there that are working.