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

This commit is contained in:
Timothy Schenk 2023-10-27 20:42:53 +02:00
parent 3df65297d1
commit c33f5a6199

View file

@ -89,6 +89,8 @@ sealed class Build : NukeBuild
.SetProjectKey(SonarProjectKey)
.SetServer(SonarHostUrl);
SonarScannerTasks.SonarScannerBegin(sonarScannerSettings);
DotNetTasks.DotNetBuild(settings => settings.SetNoRestore(true));
SonarScannerTasks.SonarScannerEnd();
});
Target Deploy => _ => _.DependsOn(Pack).Executes(() =>