From ca8960b980521d937578965444075421ed3912b0 Mon Sep 17 00:00:00 2001 From: Timothy Schenk Date: Fri, 27 Oct 2023 21:19:48 +0200 Subject: [PATCH] ci: final setup --- build/Build.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build/Build.cs b/build/Build.cs index ed0ee4f..1281d25 100644 --- a/build/Build.cs +++ b/build/Build.cs @@ -86,9 +86,13 @@ sealed class Build : NukeBuild .SetProjectKey("wonderking_continuity_AYeecUUTs-PH__JrTRky") .SetLogin(SonarToken) .SetServer(SonarHostUrl); + var sonarScannerEndSettings = new SonarScannerEndSettings() + .SetProjectKey("wonderking_continuity_AYeecUUTs-PH__JrTRky") + .SetLogin(SonarToken) + .SetServer(SonarHostUrl); var scannerBegin = SonarScannerTasks.SonarScannerBegin(sonarScannerSettings); DotNetTasks.DotNetBuild(settings => settings.SetNoRestore(true)); - SonarScannerTasks.SonarScannerEnd(scannerBegin); + SonarScannerTasks.SonarScannerEnd(sonarScannerEndSettings); }); Target Deploy => _ => _.DependsOn(Pack).Executes(() =>