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:
@@ -120,10 +120,10 @@ jobs:
|
||||
working-directory: ./services/api-gateway
|
||||
run: |
|
||||
./mvnw sonar:sonar \
|
||||
-Dsonar.host.url=${{ secrets.SONAR_HOST_URL }} \
|
||||
-Dsonar.login=${{ secrets.SONAR_TOKEN }} \
|
||||
-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"
|
||||
|
||||
- name: Build application
|
||||
if: ${{ !inputs.run_tests_only && !inputs.run_sonar_only }}
|
||||
|
||||
Reference in New Issue
Block a user