From 3fc542e79688444c68d7d501d29f97037d5e8f97 Mon Sep 17 00:00:00 2001 From: Ernest Pough Date: Thu, 5 Jun 2025 12:21:30 -0400 Subject: [PATCH 1/2] ESS-6702: Add SonarCloud configuration to pom.xml for main branch --- pom.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 93e0c8e8c49..a77b031e11c 100644 --- a/pom.xml +++ b/pom.xml @@ -88,7 +88,8 @@ ${maven.multiModuleProjectDirectory}/reports/target/site/jacoco-merged/jacoco.xml - https://sonarqube.dev.inrupt.com + https://sonarcloud.io + inrupt solid-client-java ${project.artifactId} From f4437a84ea076d547160d2ed8691c7dabac5e553 Mon Sep 17 00:00:00 2001 From: Ernest Pough Date: Thu, 5 Jun 2025 12:25:45 -0400 Subject: [PATCH 2/2] chaning the sonar login to token in ci and cd configs --- .github/workflows/cd-config.yml | 2 +- .github/workflows/ci-config.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd-config.yml b/.github/workflows/cd-config.yml index f817a69e8b5..46b987c86e0 100644 --- a/.github/workflows/cd-config.yml +++ b/.github/workflows/cd-config.yml @@ -54,5 +54,5 @@ jobs: - name: Sonar Analysis if: ${{ github.actor != 'dependabot[bot]' }} - run: mvn sonar:sonar -Dsonar.login=${{ secrets.SONARQUBE_TOKEN }} + run: mvn sonar:sonar -Dsonar.token=${{ secrets.SONARQUBE_TOKEN }} diff --git a/.github/workflows/ci-config.yml b/.github/workflows/ci-config.yml index 5c55300a57b..d75d5219a6b 100644 --- a/.github/workflows/ci-config.yml +++ b/.github/workflows/ci-config.yml @@ -146,5 +146,5 @@ jobs: run: mvn -B -ntp install -Pci - name: Sonar Analysis - run: mvn sonar:sonar -Dsonar.login=${{ secrets.SONARQUBE_TOKEN }} + run: mvn sonar:sonar -Dsonar.token=${{ secrets.SONARQUBE_TOKEN }}