Has anyone managed to get SonarQube working with Upsource? I have downloaded the upsource-sonar-plugin-0.1-SNAPSHOT.jar plugin for SonarQube and set the following in my SonarQube setting file that I add via the /s switch
<Property Name="sonar.upsource.url">url to my upsource</Property>
<Property Name="sonar.upsource.project">my upsouce project id</Property>
<Property Name="sonar.upsource.revision">svn revision number</Property>
<Property Name="sonar.upsource.token">See below</Property>
For the sonar.upsource.token I have tried both the Upsource Build Authentication token and User Permanent Token.
I'm getting no errors when I run the
SonarQube.Scanner.MSBuild.exe end /d:sonar.login="*******"
And get the following in the output
INFO: More about the report processing at http://**********
INFO: Executing post-job Push issues to Upsource
However, I'm not seeing any information in Upsource in regards to what SonarQube has found.
Ok I have managed to get this to work. You need to add the following to the start
/d:sonar.analysis.mode=issues
setting. Yes, I know this was depreciated in version 6.6 of SonarQube however, it gets it to work. I have tested this against versions 6.5, 6.7 & 7.0 of SonarQube.