File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 53
53
restore-keys : ${{ runner.os }}-m2
54
54
55
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 }}
56
+ 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 }}
57
62
env :
58
63
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
59
64
SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
You can’t perform that action at this time.
0 commit comments