diff --git a/build/Build.cs b/build/Build.cs index 7df9d7e..3dfadf5 100644 --- a/build/Build.cs +++ b/build/Build.cs @@ -72,12 +72,12 @@ class Build : NukeBuild return; } + var sonarScannerSettings = new SonarScannerBeginSettings() .SetLogin(SonarToken) .SetProjectKey(SonarProjectKey) - .SetProjectName("Continuity") - .SetProjectVersion(GitRepository.Branch) .SetServer(SonarHostUrl); + SonarScannerTasks.SonarScannerBegin(sonarScannerSettings); }); Target Deploy => _ => _.DependsOn(Pack).Executes(() =>