This repository has been archived by the owner on Nov 15, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 248
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #517 from OpenCover/master
create a release-candidate
- Loading branch information
Showing
56 changed files
with
1,319 additions
and
928 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,8 @@ | |
<property name="netfx4.folder" value="${netfx.framework.folder}/v4.0.30319" /> | ||
<property name="ci.buildNumber" value="${environment::get-variable('APPVEYOR_BUILD_NUMBER')}" if="${environment::variable-exists('APPVEYOR_BUILD_NUMBER')}"/> | ||
<property name="ci.buildNumber" value="0" unless="${property::exists('ci.buildNumber')}" /> | ||
<property name="ci.fullBuildNumber" value="${environment::get-variable('APPVEYOR_BUILD_VERSION')}" if="${environment::variable-exists('APPVEYOR_BUILD_VERSION')}"/> | ||
<property name="ci.fullBuildNumber" value="0" unless="${property::exists('ci.fullBuildNumber')}" /> | ||
<property name="coverity.folder" value="C:\Projects\cov-analysis-win64-7.7.0.4\cov-analysis-win64-7.7.0.4\bin" if="${directory::exists('C:\Projects\cov-analysis-win64-7.7.0.4\cov-analysis-win64-7.7.0.4\bin')}" /> | ||
|
||
<property name="coverity.exe" value="${coverity.folder}/cov-build.exe" if="${property::exists('coverity.folder')}" /> | ||
|
@@ -78,13 +80,41 @@ | |
</exec> | ||
|
||
<exec program="${curl.exe}" | ||
commandline='--form token=${coverity.token} --insecure --form email=${coverity.email} --form [email protected] --form version="${ci.buildNumber}" --form description="${ci.buildNumber}" https://scan.coverity.com/builds?project=OpenCover%2Fopencover' /> | ||
commandline='--form token=${coverity.token} --insecure --form email=${coverity.email} --form [email protected] --form version="${ci.fullBuildNumber}" --form description="${ci.fullBuildNumber}" https://scan.coverity.com/builds?project=OpenCover%2Fopencover' /> | ||
|
||
</target> | ||
|
||
<target name="sonarqube-build-release" depends="clean-all, build-environment, build-release-platforms" /> | ||
<target name="sonarqube-build" if="${environment::variable-exists('SONARQUBE_USER')}"> | ||
|
||
<call target="dogfood-release" /> | ||
|
||
<property name="sonarqube.user" value="${environment::get-variable('SONARQUBE_USER')}" /> | ||
<property name="sonarqube.pwd" value="${environment::get-variable('SONARQUBE_PASSWORD')}" /> | ||
|
||
<xmlpoke file="tools\sonarqube\SonarQube.Analysis.xml" xpath="//m:Property[@Name='sonar.login']" value="${sonarqube.user}"> | ||
<namespaces> | ||
<namespace prefix="m" uri="http://www.sonarsource.com/msbuild/integration/2015/1" /> | ||
</namespaces> | ||
</xmlpoke> | ||
|
||
<xmlpoke file="tools\sonarqube\SonarQube.Analysis.xml" xpath="//m:Property[@Name='sonar.password']" value="${sonarqube.pwd}"> | ||
<namespaces> | ||
<namespace prefix="m" uri="http://www.sonarsource.com/msbuild/integration/2015/1" /> | ||
</namespaces> | ||
</xmlpoke> | ||
|
||
<!-- assumes coverage file has been created --> | ||
<exec program="tools\sonarqube\MSBuild.SonarQube.Runner.exe" commandline='begin /k:"opencover" /n:"opencover" /v:"${ci.fullBuildNumber}" /d:sonar.cs.opencover.reportsPaths="${root.folder}\main\bin\release\opencovertests.xml"' /> | ||
|
||
<target name="sonarqube-build-debug" depends="clean-all, build-environment, build-debug-platforms" /> | ||
<exec program="${msbuild.exe}"> | ||
<arg value="${solution.folder}/opencover.sonarqube.sln" /> | ||
<arg value="/t:Rebuild" /> | ||
<arg value="/p:Configuration=release,Platform=x86" /> | ||
</exec> | ||
|
||
<exec program="tools\sonarqube\MSBuild.SonarQube.Runner.exe" commandline='end' /> | ||
|
||
</target> | ||
|
||
<target name="quick-build-release" depends="clean, build-environment, build-release-platforms, test, test-cpp" /> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,6 +27,7 @@ public static bool AlreadySigned(string baseFolder) | |
} | ||
catch | ||
{ | ||
return false; | ||
} | ||
} | ||
return false; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,7 @@ public static bool AlreadySigned(string baseFolder) | |
} | ||
catch | ||
{ | ||
return false; | ||
} | ||
} | ||
return false; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.