Skip to content
This repository has been archived by the owner on Nov 15, 2021. It is now read-only.

Commit

Permalink
Add custom exe
Browse files Browse the repository at this point in the history
  • Loading branch information
sawilde committed Jan 30, 2016
1 parent 5f36389 commit 58d0586
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ coverity.zip
#sonarqube
/.sonarqube
!tools/sonarqube/**/*
!tools/CxxSonarQubeMsbuidRunner.exe
/main/.sonarqube
/main/.cxxresults
/tools/sonarqube/cxx-runner
7 changes: 4 additions & 3 deletions default.build
Original file line number Diff line number Diff line change
Expand Up @@ -121,17 +121,18 @@
<target name="sonarqube-build" if="${environment::variable-exists('SONARQUBE_USER')}">

<call target="sonarqube-build-ci" />

<call target="reset-private-vars" />

<call target="dogfood-release" />

<call target="reset-private-vars" />

<exec program="${tools.folder}/7-Zip/7za.exe" unless="${directory::exists('tools\sonarqube\cxx-runner')}">
<arg value="x" />
<arg value="-otools\sonarqube\cxx-runner" />
<arg value="tools\CxxSonarQubeMsbuidRunner.zip" />
</exec>


<copy file="tools\CxxSonarQubeMsbuidRunner.exe" tofile="tools\sonarqube\cxx-runner\CxxSonarQubeMsbuidRunner.exe" />

<!-- assumes coverage file has been created -->
<exec program="tools\sonarqube\cxx-runner\CxxSonarQubeMsbuidRunner.exe" commandline='/m:main\opencover.sln /x:vs13 /q:tools\sonarqube\runner\MSBuild.SonarQube.Runner.exe /n:opencover /k:opencover /p:Configuration=release,Platform=x64,GtestRunnerTaskEnabled=false /v:"${ci.fullBuildNumber}" /d:sonar.cs.opencover.reportsPaths="${root.folder}\main\bin\release\opencovertests.xml"' />
Expand Down
Binary file added tools/CxxSonarQubeMsbuidRunner.exe
Binary file not shown.

0 comments on commit 58d0586

Please sign in to comment.