From 720e7c6c8f593bbc387f16fbfe2d19c7fec48d8b Mon Sep 17 00:00:00 2001 From: THOREL Arnaud Date: Wed, 15 Nov 2023 14:52:31 +0100 Subject: [PATCH] fix ci --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 809de60..2ecd497 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -60,7 +60,7 @@ jobs: env: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} SONAR_ORGANIZATION: ${{ vars.SONAR_ORGANIZATION }} - SONAR_PROJECT: ${GITHUB_REPOSITORY#$GITHUB_REPOSITORY_OWNER/} + SONAR_PROJECT: ${{ github.event.repository.name }} run: | echo "Launch sonar with params : project: " $SONAR_PROJECT ", organization: " $SONAR_ORGANIZATION mvn sonar:sonar -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=$SONAR_ORGANIZATION -Dsonar.projectKey=$SONAR_PROJECT