chore: Update SonarQube command syntax in CI workflows for api-gateway
Some checks failed
Docker Build and Push / build-and-push (push) Failing after 35s
Integration Tests / integration-tests (push) Failing after 36s
Integration Tests / performance-tests (push) Has been skipped
API Gateway (Java Spring Boot) / test (17) (push) Failing after 2m4s
API Gateway (Java Spring Boot) / test (21) (push) Failing after 2m17s
API Gateway (Java Spring Boot) / build (push) Has been skipped
API Gateway (Java Spring Boot) / security (push) Has been skipped
Some checks failed
Docker Build and Push / build-and-push (push) Failing after 35s
Integration Tests / integration-tests (push) Failing after 36s
Integration Tests / performance-tests (push) Has been skipped
API Gateway (Java Spring Boot) / test (17) (push) Failing after 2m4s
API Gateway (Java Spring Boot) / test (21) (push) Failing after 2m17s
API Gateway (Java Spring Boot) / build (push) Has been skipped
API Gateway (Java Spring Boot) / security (push) Has been skipped
### Summary of Changes - Enclosed the SonarQube host URL and token parameters in quotes in the CI workflows for both `all-services.yml` and `api-gateway.yml` to ensure proper parsing of the values. ### Expected Results - Improved reliability of SonarQube integration in the CI process by preventing potential issues with parameter interpretation.
This commit is contained in:
@@ -154,8 +154,8 @@ jobs:
|
||||
./mvnw clean verify sonar:sonar \
|
||||
-Dsonar.projectKey=labfusion-api-gateway \
|
||||
-Dsonar.projectName="LabFusion API Gateway" \
|
||||
-Dsonar.host.url=${{ secrets.SONAR_HOST_URL }} \
|
||||
-Dsonar.token=${{ secrets.SONAR_TOKEN }}
|
||||
-Dsonar.host.url="${{ secrets.SONAR_HOST_URL }}" \
|
||||
-Dsonar.token="${{ secrets.SONAR_TOKEN }}"
|
||||
|
||||
- name: Fail if no test reports found
|
||||
if: env.TEST_REPORTS_EXIST == 'false'
|
||||
|
||||
Reference in New Issue
Block a user