We use TeamCity as our build server - how to configure TeamCity to run SonarQube analysis for C # /. NET solutions?
I think we will need to run the MSBuild runner as a command line task, as the TeamCity SonarQube runner does not name the MSBuild SonarQube runner.
(It would be great if http://docs.sonarqube.org/display/PLUG/C%23+Plugin described this scenario.)
EDIT
The URL in the original message has changed. The correct link is here .
: / MSBuild SonarQube Runner Team Foundation Server 2015 ( ), TeamCity. / , Runner SonarQube MSBuild MSBuild .
, TeamCity .
,
.cmd
cd %system.agent.home.dir% C:\sonarqube\bin\MSBuild.SonarQube.Runner.exe begin /key:MyKey /name:MyProjectName /version:1 "C:\Program Files (x86)\MSBuild\14.0\Bin\msbuild.exe" MySolution.sln /t:Rebuild C:\sonarqube\bin\MSBuild.SonarQube.Runner.exe end
"" TeamCity .cmd
Source: https://habr.com/ru/post/1612257/More articles:Qt support for C ++ class 0x enum - c ++How to return a value using $ q in angular js? - angularjsError Using TinyMCE with JustBoil - tinymceWhat has changed in the xcode7 debugger that I can no longer view variables with "po" / Swift - variablesUndefined symbol reference X509_free - c ++Создание сетки с двумя столбцами с помощью flexbox - htmlПростой цикл javascript не работает - javascriptClojure weird macros when starting cans - macrosОбъект должен реализовать IConvertible при попытке вернуть кортеж - c#UI Automation Error: UI Authentication Error - APP failed to complete within 30.0 s - objective-cAll Articles