chore: Enhance SonarQube configuration in CI workflows
Some checks failed
Integration Tests / integration-tests (push) Failing after 28s
Integration Tests / performance-tests (push) Has been skipped
Docker Build and Push / build-and-push (push) Failing after 38s
API Gateway (Java Spring Boot) / test (17) (push) Failing after 1m51s
API Gateway (Java Spring Boot) / test (21) (push) Failing after 2m0s
API Gateway (Java Spring Boot) / build (push) Has been skipped
API Gateway (Java Spring Boot) / security (push) Has been skipped

### Summary of Changes
- Added paths for JaCoCo coverage reports and JUnit test reports in the SonarQube configuration for `all-services.yml` and `api-gateway.yml` to improve code quality analysis.

### Expected Results
- Improved accuracy of code coverage and test reporting in SonarQube, enhancing the overall quality assurance process in the CI workflows.
This commit is contained in:
GSRN
2025-09-17 00:44:30 +02:00
parent 002f0c819f
commit 3766bdace6
2 changed files with 6 additions and 2 deletions

View File

@@ -123,7 +123,9 @@ jobs:
-Dsonar.host.url="${{ secrets.SONAR_HOST_URL }}" \
-Dsonar.login="${{ secrets.SONAR_TOKEN }}" \
-Dsonar.projectKey=labfusion-api-gateway \
-Dsonar.projectName=LabFusion-API-Gateway
-Dsonar.projectName=LabFusion-API-Gateway \
-Dsonar.coverage.jacoco.xmlReportPaths=target/site/jacoco/jacoco.xml \
-Dsonar.junit.reportPaths=target/surefire-reports
- name: Build application
if: ${{ !inputs.run_tests_only && !inputs.run_sonar_only }}