diff --git a/FAKE.sln b/FAKE.sln index e8ce2b4e63b..da17813a32c 100644 --- a/FAKE.sln +++ b/FAKE.sln @@ -66,7 +66,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "help", "help", "{564BD198-0 help\nuget.md = help\nuget.md help\octopusdeploy.md = help\octopusdeploy.md help\slacknotification.md = help\slacknotification.md - help\sonarcube.md = help\sonarcube.md help\specifictargets.md = help\specifictargets.md help\teamcity.md = help\teamcity.md help\typescript.md = help\typescript.md diff --git a/build.fsx b/build.fsx index 13f534735fc..4a0717bb1a0 100644 --- a/build.fsx +++ b/build.fsx @@ -202,7 +202,8 @@ let dotnetAssemblyInfos = "Fake.Tools.Git", "Running git commands" "Fake.Testing.Common", "Common testing data types" "Fake.Tracing.NAntXml", "NAntXml" - "Fake.Windows.Chocolatey", "Running and packaging with Chocolatey" ] + "Fake.Windows.Chocolatey", "Running and packaging with Chocolatey" + "Fake.Testing.SonarQube", "Analyzing your project with SonarQube" ] let assemblyInfos = [ "./src/app/FAKE/AssemblyInfo.fs", diff --git a/help/markdown/todo-sonarcube.md b/help/markdown/testing-sonarqube.md similarity index 89% rename from help/markdown/todo-sonarcube.md rename to help/markdown/testing-sonarqube.md index bb65e5ac906..c2ebe755784 100644 --- a/help/markdown/todo-sonarcube.md +++ b/help/markdown/testing-sonarqube.md @@ -1,7 +1,5 @@ # Analyze your code with SonarQube -**Note: This documentation is for FAKE.exe before version 5 (or the non-netcore version). The documentation needs te be updated, please help! ** - From the [web page](http://sonarqube.org): "The SonarQube® platform is an open source quality management platform, dedicated to continuously analyzing and measuring the technical quality of source code, from project portfolio down to the method level" @@ -16,8 +14,10 @@ compilation has finished. The result is then collected and sent to the SonarQube ## Minimal working example + open Fake.Testing + Target "BeginSonarQube" (fun _ -> - SonarQube Begin (fun p -> + SonarQube.Begin (fun p -> {p with Key = "MyProject" Name = "Main solution" @@ -26,7 +26,7 @@ compilation has finished. The result is then collected and sent to the SonarQube ) Target "EndSonarQube" (fun _ -> - SonarQubeEnd() + SonarQube.End None ) Target "Default" DoNothing @@ -49,7 +49,7 @@ By default, the SonarQube module looks for the MSBuild runner in the 'tools/Sona * You can send additional global settings to the server with the '/d:' parameter. In the SonarQubeParams, this is the new field Settings: - SonarQube Begin (fun p -> + SonarQube.Begin (fun p -> {p with Key = "MyProject" Name = "Main solution" @@ -60,7 +60,7 @@ In the SonarQubeParams, this is the new field Settings: * Configuration can also be read from a configuration file. This is the '/s:' parameter. This can be done with the new field Config: - SonarQube Begin (fun p -> + SonarQube.Begin (fun p -> {p with Key = "MyProject" Name = "Main solution" diff --git a/help/templates/template.cshtml b/help/templates/template.cshtml index 55977b50ca2..c0fef50d54b 100644 --- a/help/templates/template.cshtml +++ b/help/templates/template.cshtml @@ -110,6 +110,12 @@
  • Chocolatey
  • +
  • + Testing + +
  • Legacy / Not Migrated