Skip to content

Commit

Permalink
Merge pull request #46 from ssylver93/feature/WFPREV-34_2
Browse files Browse the repository at this point in the history
Test sonar
  • Loading branch information
ssylver93 authored Sep 18, 2024
2 parents f2f91aa + 6086ad0 commit e8bf82f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/sonarscan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Build and analyze
- name: Build and analyze
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
Expand Down
3 changes: 3 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
<sonar.organization>bcgov-sonarcloud</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
<sonar.projectKey>bcgov_nr-bcws-wfprev</sonar.projectKey>
<sonar.sources>server/wfprev-api/src/main/java</sonar.sources>
<sonar.tests>server/wfprev-api/src/test</sonar.tests>
<sonar.coverage.jacoco.xmlReportPaths>${project.basedir}/target/jacoco/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
</properties>

<build>
Expand Down
1 change: 0 additions & 1 deletion server/wfprev-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
</scm>
<properties>
<java.version>17</java.version>
<sonar.coverage.jacoco.xmlReportPaths>${project.basedir}/target/jacoco/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
</properties>
<dependencies>
<dependency>
Expand Down

0 comments on commit e8bf82f

Please sign in to comment.