I 've made some improvements in CI to make the pull requests decoration working with azure devops
If i set a token int ‘Prepare Sonar Cloud’ task like this :
- task: SonarCloudPrepare@1
displayName: ‘Prepare analysis on SonarCloud’
It works : i have a decoration in my pull request preventing the merge to occurs when the quality gate has failed. That’s ok.
But if i change the token to use $(System.AccessToken) nothing is added.
So i 've checked the backgound task log AXkUeoz-pCU09BoF-Uuu to search the reason. I can see in the log the token has been sent:
Is there a way to verify in the sonar cloud log if it’s an access problem (eg: Project Collection Build Service account not having the write access in my azure devops project) or if the decoration has not been sent ?
- CI system used Azure DevOps
- Languages of the repository C#