We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7390d3 commit b9e9daeCopy full SHA for b9e9dae
1 file changed
.github/workflows/sonar.yml
@@ -53,7 +53,12 @@ jobs:
53
restore-keys: ${{ runner.os }}-m2
54
55
- name: Build with Maven
56
- run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=${{ env.SONARCLOUD_ORG }}_${{ github.event.repository.name }} -Dsonar.organization=${{ env.SONARCLOUD_ORG }} -Dsonar.host.url=${{ env.SONARCLOUD_HOST }}
+ run: |
57
+ mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar \
58
+ -DskipTests \
59
+ -Dsonar.projectKey=${{ env.SONARCLOUD_ORG }}_${{ github.event.repository.name }} \
60
+ -Dsonar.organization=${{ env.SONARCLOUD_ORG }} \
61
+ -Dsonar.host.url=${{ env.SONARCLOUD_HOST }}
62
env:
63
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
64
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
0 commit comments