From 7c6e14ea0bc0dc2257c3b8bbf3a792b5f51d9514 Mon Sep 17 00:00:00 2001 From: Suresh Date: Fri, 20 Sep 2024 13:43:04 +0100 Subject: [PATCH] changs to sonar --- .github/workflows/sonarqube-analysis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sonarqube-analysis.yml b/.github/workflows/sonarqube-analysis.yml index e118b10..e8fd403 100644 --- a/.github/workflows/sonarqube-analysis.yml +++ b/.github/workflows/sonarqube-analysis.yml @@ -13,7 +13,7 @@ permissions: jobs: build: - name: Build + name: Build & SonarQube Analysis runs-on: ubuntu-latest permissions: pull-requests: read # allows SonarCloud to decorate PRs with analysis results @@ -57,4 +57,4 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} - run: mvn -e -B org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=com.shell.ecoCode-python + run: mvn -e -B org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=com.shell.ecoCode-python -Dsonar.token=${{ secrets.SONAR_TOKEN }} -Dsonar.host.url=${{ secrets.SONAR_HOST_URL }}