Publishing code analysis results to AzureDevops from docker

Hey @Plevi1337

Thanks for the details.

My understanding is that when the project is bound there should be data that’s always available to SonarCloud when decorating PRs. That data doesn’t seem to be there on the PR you shared with me.

This is data that is set also by the Extension for Azure DevOps (but only meant to be used when a project isn’t bound). That’s these analysis parameters and corresponding build variables:

sonar.pullrequest.vsts.instanceUrl - System.TeamFoundationCollectionUri
sonar.pullrequest.vsts.project - System.TeamProject
sonar.pullrequest.vsts.repository - Build.Repository.Name

Can you give it a go configuring these in your Docker build to see if it results in the PR being decorated? On my side, I’ll flag this for attention as the logs look really odd.