From 5663c123578465dbfa9db3d1d6f136af47e03ecd Mon Sep 17 00:00:00 2001 From: Costa Jorge Date: Tue, 21 Mar 2017 09:54:31 +0200 Subject: [PATCH] #56 support 6.3 --- .../CxxSonarQubeMsbuidRunner.fsproj | 16 ++++++++-------- CxxSonarQubeMsbuidRunner/InstallationModule.fs | 2 +- CxxSonarQubeMsbuidRunner/Options.fs | 2 +- CxxSonarQubeMsbuidRunner/Program.fs | 4 ++-- CxxSonarQubeMsbuidRunner/packages.config | 2 +- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/CxxSonarQubeMsbuidRunner/CxxSonarQubeMsbuidRunner.fsproj b/CxxSonarQubeMsbuidRunner/CxxSonarQubeMsbuidRunner.fsproj index a05eafa..060812c 100644 --- a/CxxSonarQubeMsbuidRunner/CxxSonarQubeMsbuidRunner.fsproj +++ b/CxxSonarQubeMsbuidRunner/CxxSonarQubeMsbuidRunner.fsproj @@ -41,7 +41,7 @@ false - /k:Tekla.Tools.RoslynRunner /n:RoslynRunner /v:work /m=D:\Development\SonarQube\dotnet\sonar-roslyn-plugin\RoslynRunner\RoslynRunner.sln + /i 11 @@ -84,16 +84,16 @@ True - ..\packages\VSSonarExtensionPlugin3Api.6.1.0\lib\FSharp.Data.dll + ..\packages\VSSonarExtensionPlugin3Api.6.1.1\lib\FSharp.Data.dll True - ..\packages\VSSonarExtensionPlugin3Api.6.1.0\lib\FSharp.Data.DesignTime.dll + ..\packages\VSSonarExtensionPlugin3Api.6.1.1\lib\FSharp.Data.DesignTime.dll True - ..\packages\VSSonarExtensionPlugin3Api.6.1.0\lib\MsbuildAutomationHelper.dll + ..\packages\VSSonarExtensionPlugin3Api.6.1.1\lib\MsbuildAutomationHelper.dll True @@ -101,11 +101,11 @@ True - ..\packages\VSSonarExtensionPlugin3Api.6.1.0\lib\RestSharp.dll + ..\packages\VSSonarExtensionPlugin3Api.6.1.1\lib\RestSharp.dll True - ..\packages\VSSonarExtensionPlugin3Api.6.1.0\lib\SonarRestService.dll + ..\packages\VSSonarExtensionPlugin3Api.6.1.1\lib\SonarRestService.dll True @@ -145,11 +145,11 @@ True - ..\packages\VSSonarExtensionPlugin3Api.6.1.0\lib\VSSonarPlugins.dll + ..\packages\VSSonarExtensionPlugin3Api.6.1.1\lib\VSSonarPlugins.dll True - ..\packages\VSSonarExtensionPlugin3Api.6.1.0\lib\VSSonarQubeCmdExecutor.dll + ..\packages\VSSonarExtensionPlugin3Api.6.1.1\lib\VSSonarQubeCmdExecutor.dll True diff --git a/CxxSonarQubeMsbuidRunner/InstallationModule.fs b/CxxSonarQubeMsbuidRunner/InstallationModule.fs index 263e2df..057fce3 100644 --- a/CxxSonarQubeMsbuidRunner/InstallationModule.fs +++ b/CxxSonarQubeMsbuidRunner/InstallationModule.fs @@ -147,7 +147,7 @@ let InstallCppLint() = wc.DownloadFile("""https://raw.githubusercontent.com/SonarOpenCommunity/sonar-cxx-msbuild-tasks/master/Nuget/CppLint/cpplint_mod.py""", cpplintMod) cpplintMod -let InstallRats() = +let InstallRats() = Path.Combine(DownloadAndInstallZipDist("""https://github.com/SonarOpenCommunity/sonar-cxx-msbuild-tasks/raw/master/Nuget/rats.zip""", "RATS"), "rats.exe") let InstallVera() = diff --git a/CxxSonarQubeMsbuidRunner/Options.fs b/CxxSonarQubeMsbuidRunner/Options.fs index 476f2b4..597e548 100644 --- a/CxxSonarQubeMsbuidRunner/Options.fs +++ b/CxxSonarQubeMsbuidRunner/Options.fs @@ -204,7 +204,7 @@ type OptionsData(args : string []) = if arguments.ContainsKey("r") then arguments.["r"] |> Seq.head else - "1.1" + "2.2" let parentBranch = if arguments.ContainsKey("b") then diff --git a/CxxSonarQubeMsbuidRunner/Program.fs b/CxxSonarQubeMsbuidRunner/Program.fs index 7acc701..4294549 100644 --- a/CxxSonarQubeMsbuidRunner/Program.fs +++ b/CxxSonarQubeMsbuidRunner/Program.fs @@ -54,13 +54,13 @@ let main argv = printf "Exception During Run: %s \r\n %s" ex.Message ex.StackTrace ret <- 1 - options.Clean() options.DuplicateFalsePositives() - with | ex -> printf "Exception During Run: %s %s\r\n" ex.Message ex.StackTrace ret <- 1 + + ret diff --git a/CxxSonarQubeMsbuidRunner/packages.config b/CxxSonarQubeMsbuidRunner/packages.config index d065320..7be9955 100644 --- a/CxxSonarQubeMsbuidRunner/packages.config +++ b/CxxSonarQubeMsbuidRunner/packages.config @@ -1,4 +1,4 @@  - + \ No newline at end of file