Skip to content

Commit 0008d76

Browse files
authored
ESS-6702: Add SonarCloud configuration for main branch (#2127)
1 parent 18491bb commit 0008d76

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/cd-config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,5 @@ jobs:
5454

5555
- name: Sonar Analysis
5656
if: ${{ github.actor != 'dependabot[bot]' }}
57-
run: mvn sonar:sonar -Dsonar.login=${{ secrets.SONARQUBE_TOKEN }}
57+
run: mvn sonar:sonar -Dsonar.token=${{ secrets.SONARQUBE_TOKEN }}
5858

.github/workflows/ci-config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,5 +146,5 @@ jobs:
146146
run: mvn -B -ntp install -Pci
147147

148148
- name: Sonar Analysis
149-
run: mvn sonar:sonar -Dsonar.login=${{ secrets.SONARQUBE_TOKEN }}
149+
run: mvn sonar:sonar -Dsonar.token=${{ secrets.SONARQUBE_TOKEN }}
150150

pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@
8888

8989
<!-- sonar -->
9090
<sonar.coverage.jacoco.xmlReportPaths>${maven.multiModuleProjectDirectory}/reports/target/site/jacoco-merged/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
91-
<sonar.host.url>https://sonarqube.dev.inrupt.com</sonar.host.url>
91+
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
92+
<sonar.organization>inrupt</sonar.organization>
9293
<sonar.projectKey>solid-client-java</sonar.projectKey>
9394
<sonar.moduleKey>${project.artifactId}</sonar.moduleKey>
9495
</properties>

0 commit comments

Comments
 (0)