Skip to content

Commit 4713400

Browse files
committed
chore: Use sonar.token instead of sonar.login
1 parent 03f441c commit 4713400

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ jobs:
3535
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3636
run: |
3737
mvn -B clean --file pom.xml
38-
mvn -B install sonar:sonar -Plicense-scan -Dsonar.projectKey=dochia-dev_dochia-cli -Dsonar.organization=dochia-dev -Dsonar.host.url=https://sonarcloud.io -Dsonar.token=$SONAR_TOKEN
38+
mvn -B verify sonar:sonar -Plicense-scan -Dsonar.projectKey=dochia-dev_dochia-cli -Dsonar.host.url=https://sonarcloud.io -Dsonar.token=$SONAR_TOKEN

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
<rgxgen.version>3.1</rgxgen.version>
3232
<jacoco-maven-plugin.version>0.8.8</jacoco-maven-plugin.version>
3333
<openapi-generator.version>7.20.0</openapi-generator.version>
34+
<sonar.organization>dochia-dev</sonar.organization>
3435
<sonar.coverage.exclusions>
3536
**/*TestCaseExporter*.*, **/*TestCase*.*, **/*TestReport*.*, **/*Aspect*.*, **/*DochiaMain*.*,
3637
**/*VersionProvider*.*, **/*ReflectionConfig*.*,**/*TimeExecution*.*, **/*FormEncoder*.*,

0 commit comments

Comments
 (0)