-
Notifications
You must be signed in to change notification settings - Fork 1
XAML Invoke SonarRunner
Runs a sonar analysis (see SonarQube).
It runs the 'sonar-runner.bat' batch-file in the directory specified by the SonarRunnerBinDirectory-parameter, which is available when the sonar-runner is installed. By default, it uses the 'sonar-project.properties' file in the directory specified by the SourcesDirectory-parameter.
For more information on SonarQube, see the SonarQube website. There are a lot of plugins for different languages, like C#, VB.NET or JavaScript.
It takes a little work to setup a SonarQube server and to setup the SonarQube-runner, and the necessary language-plugins, on a build-server. I don't really have an installation instruction, since our Sonar-environment was already up and running. But I found a blog-post that describes the setup-process, which looks pretty detailed; although not completely up-to-date (last update is for v4.0 on 18-12-2013). I haven't used that description myself, so no guarantees.
Specifies the root-directory containing the source-files.
Specifies the directory containing the SonarRunner binaries. Default is 'C:\sonar\bin'.
Specifies the name of the sonar-properties file. Default is 'sonar-project.properties'. This file-name should be relative to the sources-directory on the build-agent, as specified by the $(SourceDir) in the workspace of the build-definition.
Specifies that no changes should be made.