diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 57cf8fd..5b64855 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,4 +36,5 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=bogdanakushnir_java-test + run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=bogdanakushnir_t +# -Dsonar.token=c3be47fe47f698d9641c82c0b4b0fb80f9d2d84a diff --git a/pom.xml b/pom.xml index 172af0c..43bfed1 100644 --- a/pom.xml +++ b/pom.xml @@ -11,8 +11,10 @@ <properties> <maven.compiler.source>11</maven.compiler.source> <maven.compiler.target>11</maven.compiler.target> - <sonar.organization>bogdanakushnir</sonar.organization> - <sonar.host.url>https://sonarcloud.io</sonar.host.url> +<!-- <sonar.token>c3be47fe47f698d9641c82c0b4b0fb80f9d2d84a</sonar.token>--> +<!-- <sonar.login>c3be47fe47f698d9641c82c0b4b0fb80f9d2d84a</sonar.login>--> + <sonar.organization>bogdanakushnir</sonar.organization> + <sonar.host.url>https://squad-4-core.sc-dev.io</sonar.host.url> </properties> </project> diff --git a/sonar-scanner.properties b/sonar-scanner.properties index b4da738..045a1aa 100644 --- a/sonar-scanner.properties +++ b/sonar-scanner.properties @@ -1,6 +1,8 @@ sonar.organization=bogdanakushnir -sonar.projectKey=bogdanakushnir_java-test +sonar.projectKey=bogdanakushnir_t # relative paths to source directories. More details and properties are described # in https://sonarcloud.io/documentation/project-administration/narrowing-the-focus/ sonar.sources=. + +#sonar.exclusions = src/main/java/org/test/example