diff --git a/.github/workflows/car-demo-updated-pipeline.yml b/.github/workflows/car-demo-updated-pipeline.yml index bf251e6..f04d8a4 100644 --- a/.github/workflows/car-demo-updated-pipeline.yml +++ b/.github/workflows/car-demo-updated-pipeline.yml @@ -36,8 +36,10 @@ jobs: #cd $repo car-demo/$repo || exit 1 #mvn clean verify sonar:sonar -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=nashtech -Dsonar.projectKey=$repo -Dsonar.branch.name=main -Dsonar.login=${{ secrets.SONAR_TOKEN }} -X - mvn clean verify sonar:sonar -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=nashtech - cd .. + #mvn clean verify sonar:sonar -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=nashtech + repo_path="car-demo/$repo" + mvn -f $repo_path clean verify sonar:sonar -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=nashtech -Dsonar.projectKey=$repo -Dsonar.branch.name=main -Dsonar.login=${{ secrets.SONAR_TOKEN }} -X + #cd .. done env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}