Skip to content

Commit

Permalink
trying sonar.exclusions
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaffter committed Apr 9, 2024
1 parent 9777763 commit a28c145
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions apps/openchallenges/challenge-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ sonar {
property("sonar.host.url", "https://sonarcloud.io")
property("sonar.organization", "sage-bionetworks")
property("sonar.projectKey", "${project.name}")
property("sonar.exclusions", autoGeneratedFiles.join(","))
property("sonar.coverage.exclusions", autoGeneratedFiles.join(","))
// Include the pull request number (ignored if not set)
property("sonar.pullrequest.key", System.getenv('SONAR_PULL_REQUEST_NUMBER'))
Expand Down
2 changes: 1 addition & 1 deletion apps/openchallenges/image-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ sonar {
'**/RFC3339DateFormat.*'
]
properties {
property("sonar.projectKey", "openchallenges-image-service")
property("sonar.projectKey", "${project.name}")
property("sonar.organization", "sage-bionetworks")
property("sonar.host.url", "https://sonarcloud.io")
property("sonar.coverage.exclusions", autoGeneratedFiles.join(","))
Expand Down

0 comments on commit a28c145

Please sign in to comment.