try cdp.exclusions

This commit is contained in:
Joseph Sawyer 2024-10-22 19:50:48 +01:00
commit be3e1268ae

View file

@ -45,6 +45,6 @@ jobs:
# The organization and project arguments (see /o and /k) are displayed # The organization and project arguments (see /o and /k) are displayed
# on the project dashboard in SonarCloud. # on the project dashboard in SonarCloud.
run: | run: |
.\.sonar\scanner\dotnet-sonarscanner begin /k:"Ombi-app_Ombi" /o:"ombi-app" /d:sonar.login="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.exclusions="src/Ombi.Store/Migrations/**/*" .\.sonar\scanner\dotnet-sonarscanner begin /k:"Ombi-app_Ombi" /o:"ombi-app" /d:sonar.login="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cdp.exclusions="src/Ombi.Store/Migrations/**/*"
dotnet build src/Ombi.sln -c NonUiBuild dotnet build src/Ombi.sln -c NonUiBuild
.\.sonar\scanner\dotnet-sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}" .\.sonar\scanner\dotnet-sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}"