PR decoration and on-prem TFS 2018

  • SonarQube Developer Edition Version 7.9.1 (build 27448)
  • TFS 2018 on-prem

I am trying to enable PR decorations on the project but it looks like only the cloud version of TFS (DevOps Server) is supported. Can anyone confirm that PR decoration is not supported on an on-prem TFS 2018 server? If so, how can I enable this?

Hi,

this is supported. You have to download the SonarQube extension for your TFS, available here Is that what you did already ?

Mickaël

Thanks! I was missing the token configuration. Once that’s in place PRs started getting decorated. One question though, can a PR be completed even if quality gate has failed?

It depends on the configuration you set on the build policy of the target branch. You can define or not an external service to validate your pull request, and that can be the Quality Gate. See here and here for more information.

Mickaël