SonarQube PR Commenting

pull-request
vsts

(Anders Lind Pedersen) #1

Hey,

I am struggling to decorate PR with comments in VSTS with SonarQube results. Have a normal report working fine publishing results to both Build summary and SonarQube server.

Mave messed around with the following SonarQube properties, with no luck.

sonar.pullrequest.provider=vsts
sonar.pullrequest.branch
sonar.pullrequest.target
sonar.pullrequest.vsts.instanceUrl
sonar.pullrequest.vsts.project
sonar.pullrequest.vsts.repository

Are PR Comment decoration for SonarQube Server 6.5 supported or is it only SonarCloud?

SonarScanner for MSBuild 4.3.1
SonarQube Server 6.5 (build 27846)

Hope there is help to find here, really want to give our developers early feedback from SonarQube. :slight_smile:

Regards
Anders


(Colin Mueller) #2

Anders,

PR decoration is supported on SonarCloud and SonarQube 7.2+ Developer Edition and above. Maybe time for a platform upgrade? :slight_smile:

Colin


SQ7.2 - Pull Request Decoration Availability for VSTS missing
(Anders Lind Pedersen) #3

Yes it is very much time for a platform upgrade. :wink:

Is there any plans to include it in Community Edition?

Thank you for the quick reply.

Anders


(G Ann Campbell) #4

Hi,

Branch and PR analysis come with Developer Edition($), which starts at $150/year.

Ann