Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified build/sonarqube-scanner-msbuild.zip
Binary file not shown.
3 changes: 1 addition & 2 deletions src/server/metaRunners/SonarQubeBeginAnalysis.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,14 @@
<param name="sonar.password" value="%sonar.password%" spec="password description='SonarQube Password' display='hidden' label='SonarQube Password:' validationMode='not_empty'" />
<param name="sonar.project.name" value="%env.TEAMCITY_PROJECT_NAME%" spec="text description='SonarQube Project Name' display='normal' label='SonarQube Project Name:' validationMode='not_empty'" />
<param name="sonar.project.key" value="%teamcity.project.id%" spec="text description='SonarQube Project Key' display='normal' label='SonarQube Project Key:' validationMode='not_empty'" />
<param name="sonar.project.branch" value="%teamcity.build.branch%" spec="text description='Use this property to create a independent project in SonarQube for specific branch' display='normal' label='Sonar Branch:'" />
<param name="sonar.solution.path" value="%teamcity.build.checkoutDir%" spec="text description='Solution Path (Working Directory)' display='normal' label='Solution Path:'"/>
<param name="sonar.additional.args" value="" spec="text description='SonarQube Additional CommandLine Arguments (consider ONE space between args)' display='normal' label='Additional CommandLine Args:'"/>
</parameters>
<build-runners>
<runner name="SonarQube Begin Analysis" type="simpleRunner">
<parameters>
<param name="command.executable" value="%teamcity.agent.tools.dir%\scanner-msbuild\bin\SonarQube.Scanner.MSBuild.exe" />
<param name="command.parameters" value="begin /k:&quot;%sonar.project.key%&quot; /n:&quot;%sonar.project.name%&quot; /v:&quot;%build.number%&quot; /d:sonar.branch=&quot;%sonar.project.branch%&quot; /d:sonar.host.url=&quot;%sonar.server%&quot; /d:sonar.login=&quot;%sonar.user%&quot; /d:sonar.password=&quot;%sonar.password%&quot; %sonar.additional.args%" />
<param name="command.parameters" value="begin /k:&quot;%sonar.project.key%&quot; /n:&quot;%sonar.project.name%&quot; /v:&quot;%build.number%&quot; /d:sonar.host.url=&quot;%sonar.server%&quot; /d:sonar.login=&quot;%sonar.user%&quot; /d:sonar.password=&quot;%sonar.password%&quot; %sonar.additional.args%" />
<param name="teamcity.build.workingDir" value="%sonar.solution.path%" />
<param name="teamcity.step.mode" value="default" />
</parameters>
Expand Down
2 changes: 1 addition & 1 deletion src/teamcity-plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<info>
<name>SonarQubeScannerPlugin</name>
<display-name>SonarQube Scanner for MSBuild Plugin</display-name>
<version>0.4</version>
<version>0.5</version>
<description>Run begin and end commands for MSBuild analysis projects.</description>
<vendor>
<name>Cignium Technologies</name>
Expand Down