Skip to content

Commit

Permalink
sonar-project.properties
Browse files Browse the repository at this point in the history
  • Loading branch information
jerone committed Aug 25, 2024
1 parent 5effea7 commit 3cf59ef
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,7 @@ jobs:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
shell: powershell
run: |
.\.sonar\scanner\dotnet-sonarscanner begin `
/k:"jerone_Jvw.DevToys.SemverCalculator" `
/o:"jerone" `
/d:sonar.token="${{ secrets.SONAR_TOKEN }}" `
/d:sonar.host.url="https://sonarcloud.io" `
/d:sonar.exclusions="**/Pack/**/*.xml" `
/d:sonar.verbose=true
.\.sonar\scanner\dotnet-sonarscanner begin /d:sonar.token="${{ secrets.SONAR_TOKEN }}"
- name: Build solution
run: dotnet build
Expand All @@ -119,8 +113,7 @@ jobs:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
shell: powershell
run: |
.\.sonar\scanner\dotnet-sonarscanner end `
/d:sonar.token="${{ secrets.SONAR_TOKEN }}"
.\.sonar\scanner\dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"
nuget_pack:
name: Pack NuGet package
Expand Down
6 changes: 6 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
sonar.projectKey=jerone_Jvw.DevToys.SemverCalculator
sonar.organization=jerone
sonar.scanner.skipJreProvisioning=true
sonar.host.url=https://sonarcloud.io
sonar.exclusions=**/Pack/**/*.xml
sonar.verbose=true

0 comments on commit 3cf59ef

Please sign in to comment.