Hi everyone
I have a rather simple question.
I am using the Community Edition (Version 8.6 (build 39681)).
I am also using the Sonar Plugin for Azure DevOps Server 2020.
When i run the Sonar Analysis in my DevOps Pipeline manually or via CI, everything works just fine. But when in run the Pipeline triggered within an pull request, I always get this error
##[error]System.Management.Automation.RuntimeException: Could not find the SonarQube issue report at (myworkspace).sonarqube\out.sonar\sonar-report.json. Unable to post issues to the PR. ā> System.IO.FileNotFoundException: Could not find the SonarQube issue report at (myworkspace).sonarqube\out.sonar\sonar-report.json. Unable to post issues to the PR.
On a higher level i also get this error (which I think is rooted in the error above, but for the sake of completeness):
[error]ERROR: The preview mode, along with the āsonar.analysis.modeā parameter, is no more supported. You should stop using this parameter
Now I know, that the Pull Request decoration is only available in the Developer Edition or higher.
But I dont really want that, I simply want to run my pipeline based on the Pull Request, so I can link to it in my Pull Request View in DevOps (I can see all further information in the Pipeline itself).
So my question is: Does the fact that I cannot use the Pull Request Decoration (because of the Community Edition) prevent my from using SonarAnalysis in an PR triggered Pipeline at all ? Or does this exception have another reason ?
Thanks in regards for any helpful information.
Cheers
Claudius