diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 972c42d..ebb4773 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -41,6 +41,7 @@ jobs: /k:"mrleo1nid_chatbot" \ /o:"mrleo1nid" \ /d:sonar.token="${{ secrets.SONAR_TOKEN }}" \ + /d:sonar.host.url="${{ secrets.SONAR_HOST_URL }}" \ /d:sonar.cs.opencover.reportsPaths="**/coverage.opencover.xml" \ /d:sonar.coverage.exclusions="**/Migrations/**/*.cs,**/*ModelSnapshot.cs,**/Migrations/*.cs,**/Program.cs" \ /d:sonar.exclusions="**/Migrations/**/*.cs,**/obj/**,**/bin/**,**/TestResults/**" \ @@ -53,4 +54,4 @@ jobs: echo "Running tests with coverage..." dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:CoverletOutput=./coverage/ /p:Exclude="[*]*.Migrations.*" /p:ExcludeByFile="**/Migrations/*.cs" echo "Ending SonarQube analysis..." - ~/.sonar/scanner/dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="${{ secrets.SONAR_HOST_URL }}" \ No newline at end of file + ~/.sonar/scanner/dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="${{ secrets.SONAR_HOST_URL }}" \ No newline at end of file