Skip to content

Commit 1de3f71

Browse files
committed
Apply Sonarqube updates CI file
1 parent 2d1c442 commit 1de3f71

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/ci-all.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,15 @@ jobs:
2222
run: mvn clean install -DskipTests
2323

2424
- name: SonarQube Analysis
25+
env:
26+
SONAR_TOKEN_REMOTE: ${{ secrets.SONAR_TOKEN_REMOTE }}
27+
SONAR_HOST_URL_REMOTE: ${{ secrets.SONAR_HOST_URL_REMOTE }}
2528
run: |
2629
mvn sonar:sonar \
2730
-Dsonar.projectKey=spring-dynamic-microservices \
28-
-Dsonar.host.url=${{ secrets.SONAR_HOST_URL }} \
29-
-Dsonar.login=${{ secrets.SONAR_TOKEN }}
31+
-Dsonar.organization=vijayagopalsb \
32+
-Dsonar.host.url=${{ secrets.SONAR_HOST_URL_REMOTE }} \
33+
-Dsonar.login=${{ secrets.SONAR_TOKEN_REMOTE }}
3034

3135
- name: Set up Docker Buildx
3236
uses: docker/setup-buildx-action@v3

0 commit comments

Comments
 (0)