split mvn build and sonar analysis

This commit is contained in:
Eugene Taranov
2020-06-18 14:38:57 +03:00
parent e6ca8f1d53
commit 1df4e5ab08

View File

@@ -40,4 +40,5 @@ jobs:
- name: Run sonar
working-directory: wlan-cloud-opensync-controller/opensync-ext-cloud
run: |
mvn clean verify sonar:sonar -Dsonar.host.url=${{ env.SONAR_URL }} -Dsonar.login=${{ secrets.SONAR_LOGIN }} -Dsonar.organization=${{ env.SONAR_ORGANIZATION }}
mvn clean install
mvn sonar:sonar -Dsonar.host.url=${{ env.SONAR_URL }} -Dsonar.login=${{ secrets.SONAR_LOGIN }} -Dsonar.organization=${{ env.SONAR_ORGANIZATION }}