Skip to content

Commit f047b3e

Browse files
committed
Update workflow
1 parent f907b53 commit f047b3e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/ci-sonar.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ jobs:
4141

4242
- name: SonarQube / SonarCloud Scan
4343
env:
44-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
44+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN_BACKEND }}
4545
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
4646
SONAR_ORGANIZATION: ${{ secrets.SONAR_ORGANIZATION }}
47-
SONAR_PROJECT_KEY: ${{ secrets.SONAR_PROJECT_KEY }}
47+
SONAR_PROJECT_KEY: ${{ secrets.SONAR_PROJECT_KEY_BACKEND }}
4848
run: |
4949
if [ -z "$SONAR_TOKEN" ] || [ -z "$SONAR_HOST_URL" ]; then
5050
echo "SONAR_* secrets chưa được cấu hình => bỏ qua phân tích Sonar."

sonar-project.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
sonar.projectKey=capstone-project-cmc-uni_backend
2-
sonar.projectName=CodeCampus :: backend
1+
sonar.projectKey=CapstoneProjectCMC_backend
2+
sonar.projectName=backend
33
sonar.projectVersion=1.0
4-
sonar.organization=capstone-project-cmc-uni
4+
sonar.organization=capstoneprojectcmc
55
sonar.coverage.jacoco.xmlReportPaths=target/site/jacoco-aggregate/jacoco.xml

0 commit comments

Comments
 (0)