File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -225,14 +225,21 @@ jobs:
225225 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
226226 working-directory : search-api/search-service
227227 run : |
228+ mvn clean compile \
229+ -DCLOUD_STORE_GROUP_ID=${CLOUD_STORE_GROUP_ID} \
230+ -DCLOUD_STORE_ARTIFACT_ID=${CLOUD_STORE_ARTIFACT_ID} \
231+ -DCLOUD_STORE_VERSION=${CLOUD_STORE_VERSION}
232+
228233 mvn sonar:sonar \
229234 -DCLOUD_STORE_GROUP_ID=${CLOUD_STORE_GROUP_ID} \
230235 -DCLOUD_STORE_ARTIFACT_ID=${CLOUD_STORE_ARTIFACT_ID} \
231236 -DCLOUD_STORE_VERSION=${CLOUD_STORE_VERSION} \
232237 -Dsonar.projectKey=Sunbird-Knowlg_knowledge-platform \
233238 -Dsonar.organization=sunbird-knowlg-1 \
234239 -Dsonar.host.url=https://sonarcloud.io \
235- -Dsonar.coverage.jacoco.xmlReportPaths=target/site/jacoco/jacoco.xml
240+ -Dsonar.java.binaries=target/classes \
241+ -Dsonar.java.test.binaries=target/test-classes \
242+ -Dsonar.coverage.jacoco.xmlReportPaths=search-api/search-service/target/site/jacoco/jacoco.xml
236243
237244 comment-pr :
238245 needs : [sonar-analysis-content, sonar-analysis-taxonomy, sonar-analysis-search]
You can’t perform that action at this time.
0 commit comments