Fix: Update Sonar needed parameters
[oam/tr069-adapter.git] / .github / workflows / gerrit-merge.yaml
index 628eae0..53472c0 100644 (file)
@@ -89,16 +89,16 @@ jobs:
         -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
         -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
         -DaltDeploymentRepository=staging::default::file:"${GITHUB_WORKSPACE}"/m2repo
+      SONAR_PROJECT_KEY: "o-ran-sc_oam-tr069-adapter"
+      SONAR_ORG: "o-ran-sc"
       SONAR_ARGS: >
-      -Dsonar.organization=o-ran-sc
-      -Dsonar.projectKey=o-ran-sc_oam-tr069-adapter
-      -Dsonar.verbose=true
+        -Dsonar.verbose=true
     secrets:
       SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
 
   report-status:
     if: ${{ always() }}
-    needs: [notify, run-maven-clm, run-maven-sonar]
+    needs: [notify, run-maven-sonar]
     runs-on: ubuntu-latest
     steps:
       - name: Get workflow conclusion