Skip to content

Commit

Permalink
Use gradle to run 4
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmudd committed Nov 17, 2023
1 parent fe17d9c commit ee93187
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/sonarqube.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ jobs:
- name: SonarQube PR
if: github.event_name == 'pull_request'
working-directory: jhdf
run: >
./gradlew
-Dsonar.token=${{ secrets.SONAR_TOKEN }}
-Dsonar.pullrequest.branch=${{ github.ref }}
-Dsonar.pullrequest.key=${{ github.ref.name }}
-Dsonar.pullrequest.base=${{ github.base.ref }}
-Dsonar.pullrequest.github.repository=${{ github.server_url }}/${{ github.repository }}
run: |
./gradlew \
-Dsonar.token=${{ secrets.SONAR_TOKEN }} \
-Dsonar.pullrequest.branch=${{ github.ref }} \
-Dsonar.pullrequest.key=${{ github.ref.name }} \
-Dsonar.pullrequest.base=${{ github.base.ref }} \
-Dsonar.pullrequest.github.repository=${{ github.server_url }}/${{ github.repository }} \
checkstyle spotbugs jacocoTestReport sonar

0 comments on commit ee93187

Please sign in to comment.