ci: final setup
Some checks failed
Test if Server can be built / build-server (push) Failing after 20s

This commit is contained in:
Timothy Schenk 2023-10-27 21:19:48 +02:00
parent 0fa4d4e693
commit ca8960b980

View file

@ -86,9 +86,13 @@ sealed class Build : NukeBuild
.SetProjectKey("wonderking_continuity_AYeecUUTs-PH__JrTRky") .SetProjectKey("wonderking_continuity_AYeecUUTs-PH__JrTRky")
.SetLogin(SonarToken) .SetLogin(SonarToken)
.SetServer(SonarHostUrl); .SetServer(SonarHostUrl);
var sonarScannerEndSettings = new SonarScannerEndSettings()
.SetProjectKey("wonderking_continuity_AYeecUUTs-PH__JrTRky")
.SetLogin(SonarToken)
.SetServer(SonarHostUrl);
var scannerBegin = SonarScannerTasks.SonarScannerBegin(sonarScannerSettings); var scannerBegin = SonarScannerTasks.SonarScannerBegin(sonarScannerSettings);
DotNetTasks.DotNetBuild(settings => settings.SetNoRestore(true)); DotNetTasks.DotNetBuild(settings => settings.SetNoRestore(true));
SonarScannerTasks.SonarScannerEnd(scannerBegin); SonarScannerTasks.SonarScannerEnd(sonarScannerEndSettings);
}); });
Target Deploy => _ => _.DependsOn(Pack).Executes(() => Target Deploy => _ => _.DependsOn(Pack).Executes(() =>