Skip to content

Commit

Permalink
Investigate failed Sonarqube builds (#7853)
Browse files Browse the repository at this point in the history
* added missing property and changed sonar command

* fixed syntax error
  • Loading branch information
shanice-skylight authored Jun 28, 2024
1 parent 0c58eb2 commit 60980e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ jobs:
distribution: ${{ env.JAVA_DISTRIBUTION }}
- name: Sonar analysis
if: ${{ github.actor != 'dependabot[bot]' }}
run: ./gradlew sonarqube -Dsonar.projectBaseDir=${{ env.PROJECT_ROOT }} --info
run: ./gradlew sonar -Dsonar.projectBaseDir=${{ env.PROJECT_ROOT }} --info
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
1 change: 1 addition & 0 deletions backend/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ sonar {
property "sonar.cpd.exclusions", "frontend/src/lang/*.ts"
property "sonar.javascript.lcov.reportPaths", "frontend/coverage/lcov.info,ops/services/app_functions/report_stream_batched_publisher/functions/coverage/lcov.info"
property "sonar.gradle.skipCompile", "false"
property "sonar.java.binaries", "backend/build/classes/java/main"
}
}

Expand Down

0 comments on commit 60980e9

Please sign in to comment.