Skip to content

Commit

Permalink
update sonar ghub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
NoHBruh committed Dec 28, 2023
1 parent af51109 commit e0e1663
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
1 change: 0 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@
<validation-api.version>3.0.2</validation-api.version>
<sonar.organization>unamurcsfaculty</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>

</properties>

<dependencyManagement>
Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e0e1663

Please sign in to comment.