Skip to content

Commit

Permalink
Update sonarqube.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vibhutikumar07 authored Jun 20, 2024
1 parent bbb7829 commit c99c1cb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/sonarqube.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,16 @@ jobs:
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
with:
# Additional arguments for the sonarcloud scanner
args:
-Dsonar.sources=lib
-Dsonar.exclusions=**/node_modules/**
-Dsonar.js.file.suffixes=.js
-Dsonar.qualitygate.wait=true
-Dsonar.exclusions=/dist/,/node_modules/,**/*.spec.js,**/*.test.js
-Dsonar.verbose=false # This should generally be set to `false` in a production environment to not clutter logs. Use `true` for debugging.


# If you wish to fail your job when the Quality Gate is red, uncomment the
# following lines. This would typically be used to fail a deployment.
Expand Down

0 comments on commit c99c1cb

Please sign in to comment.