From e3153653ff3bfc7b33369586dd764a4e47e3b51d Mon Sep 17 00:00:00 2001 From: Christian Koop Date: Sun, 7 May 2023 19:08:08 +0200 Subject: [PATCH] GitHub Actions: Updates projectKey and organization for SonarCloud I've editted the organisation on SonarCloud and the organisation key changed. --- .github/workflows/sonarcloud.yml | 5 ++++- pom.xml | 2 -- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index cf555767..3b1f6382 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -9,7 +9,8 @@ permissions: read-all env: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - SONAR_PROJECT_KEY: songoda_SongodaCore + SONAR_ORGANIZATION: craftaro + SONAR_PROJECT_KEY: craftaro_SongodaCore jobs: Analyze: @@ -34,6 +35,8 @@ jobs: mvn -B \ verify \ org.sonarsource.scanner.maven:sonar-maven-plugin:sonar \ + -Dsonar.host.url=https://sonarcloud.io \ + "-Dsonar.organization=$SONAR_ORGANIZATION" \ "-Dsonar.projectKey=$SONAR_PROJECT_KEY" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/pom.xml b/pom.xml index 4560dd3c..de44f20f 100644 --- a/pom.xml +++ b/pom.xml @@ -16,8 +16,6 @@ 1.8 8 - songoda - https://sonarcloud.io target/surefire-reports/*.xml target/site/jacoco/jacoco.xml