Skip to content

Commit 44bf55f

Browse files
authored
ESS-6702: Apply SonarCloud migration to 1.2 branch (#2128)
1 parent cd67b5f commit 44bf55f

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
@@ -52,7 +52,7 @@ jobs:
5252

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

5757
site:
5858
name: Publish version-specific site

.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)