chore: Standardize SonarQube project name format in CI workflows
Some checks failed
Integration Tests / integration-tests (push) Failing after 32s
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 1m52s
API Gateway (Java Spring Boot) / test (21) (push) Failing after 2m2s
API Gateway (Java Spring Boot) / build (push) Has been skipped
API Gateway (Java Spring Boot) / security (push) Has been skipped

### Summary of Changes
- Updated the SonarQube project name in the CI workflows for `all-services.yml` and `api-gateway.yml` to use a consistent format by removing quotes and replacing spaces with hyphens.

### Expected Results
- Improved consistency in SonarQube project naming, enhancing clarity and reducing potential issues in CI integration.
This commit is contained in:
GSRN
2025-09-17 00:33:51 +02:00
parent 50c20a3e97
commit 002f0c819f
2 changed files with 3 additions and 3 deletions

View File

@@ -119,11 +119,11 @@ jobs:
if: ${{ !inputs.run_tests_only }} if: ${{ !inputs.run_tests_only }}
working-directory: ./services/api-gateway working-directory: ./services/api-gateway
run: | run: |
./mvnw sonar:sonar \ ./mvnw clean verify sonar:sonar \
-Dsonar.host.url="${{ secrets.SONAR_HOST_URL }}" \ -Dsonar.host.url="${{ secrets.SONAR_HOST_URL }}" \
-Dsonar.login="${{ secrets.SONAR_TOKEN }}" \ -Dsonar.login="${{ secrets.SONAR_TOKEN }}" \
-Dsonar.projectKey=labfusion-api-gateway \ -Dsonar.projectKey=labfusion-api-gateway \
-Dsonar.projectName="LabFusion API Gateway" -Dsonar.projectName=LabFusion-API-Gateway
- name: Build application - name: Build application
if: ${{ !inputs.run_tests_only && !inputs.run_sonar_only }} if: ${{ !inputs.run_tests_only && !inputs.run_sonar_only }}

View File

@@ -153,7 +153,7 @@ jobs:
echo "Sending test results to SonarQube..." echo "Sending test results to SonarQube..."
./mvnw clean verify sonar:sonar \ ./mvnw clean verify sonar:sonar \
-Dsonar.projectKey=labfusion-api-gateway \ -Dsonar.projectKey=labfusion-api-gateway \
-Dsonar.projectName="LabFusion API Gateway" \ -Dsonar.projectName=LabFusion-API-Gateway \
-Dsonar.host.url="${{ secrets.SONAR_HOST_URL }}" \ -Dsonar.host.url="${{ secrets.SONAR_HOST_URL }}" \
-Dsonar.token="${{ secrets.SONAR_TOKEN }}" -Dsonar.token="${{ secrets.SONAR_TOKEN }}"