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 5353 restore-keys : ${{ runner.os }}-m2
5454
5555 - 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 }}
5762 env :
5863 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
5964 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
You can’t perform that action at this time.
0 commit comments