diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index a6f92d1..3779867 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -14,7 +14,7 @@ jobs: distribution: 'zulu' java-version: '17' - name: Analyze with SonarCloud - run: mvn -B verify sonar:sonar -Dsonar.projectKey=UNamurCSFaculty_2324_INFOM126_GROUPE_02 -Dsonar.organization=unamurcsfaculty -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_TOKEN + run: mvn -B verify sonar:sonar -Dsonar.projectKey=UNamurCSFaculty_2324_INFOM126_GROUPE_02 -Dsonar.organization=unamurcsfaculty -Dsonar.host.url=https://sonarcloud.io env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} diff --git a/pom.xml b/pom.xml index 3fc19cf..f662845 100644 --- a/pom.xml +++ b/pom.xml @@ -116,7 +116,6 @@ 3.0.2 unamurcsfaculty https://sonarcloud.io - diff --git a/sonar-project.properties b/sonar-project.properties index 3fdc196..576d480 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -5,7 +5,7 @@ sonar.projectName = blog generated by jhipster # is shown. sonar.sources = src sonar.tests = src -sonar.host.url = http://localhost:9001 +# sonar.host.url = http://localhost:9001 sonar.test.inclusions = src/test/**/*.*, src/main/webapp/app/**/*.spec.ts sonar.coverage.jacoco.xmlReportPaths = target/site/**/jacoco*.xml