Skip to content

Commit 43c0d9b

Browse files
committed
sonarbegin organisation arg updated
1 parent df7d75c commit 43c0d9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.cake

+1-1
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ Task("SonarBegin")
244244
.Does(() => {
245245
var coverageFilePath = MakeAbsolute(new FilePath(testCoverageOutputFile)).FullPath;
246246
Information("Sonar: Test Coverage Output File: " + testCoverageOutputFile);
247-
var arguments = "sonarscanner begin /k:\"" + sonarqubeProjectKey + "\" /v:\"" + nugetVersion + "\" /d:\"sonar.host.url=https://sonarcloud.io\" /d:\"sonar.organization=" + sonarqubeOrganisationKey + "\" /d:\"sonar.login=" + sonarQubeLogin + "\" /d:sonar.cs.opencover.reportsPaths=\"" + coverageFilePath + "\"";
247+
var arguments = "sonarscanner begin /k:\"" + sonarqubeProjectKey + "\" /v:\"" + nugetVersion + "\" /d:\"sonar.host.url=https://sonarcloud.io\" /o:" + sonarqubeOrganisationKey + " /d:\"sonar.login=" + sonarQubeLogin + "\" /d:sonar.cs.opencover.reportsPaths=\"" + coverageFilePath + "\"";
248248

249249
if (sonarQubePreview) {
250250
Information("Sonar: Running Sonar on PR " + AppVeyor.Environment.PullRequest.Number);

0 commit comments

Comments
 (0)