Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
THOREL Arnaud authored and THOREL Arnaud committed Nov 15, 2023
1 parent 09477c6 commit 3ac1086
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ jobs:
- name: Sonar
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_PROJECT: ${{ vars.GITHUB_REPOSITORY }}
SONAR_BRANCH: ${{ vars.GITHUB_REF_NAME }}
SONAR_ORGANIZATION: ${{ vars.SONAR_ORGANISATION }}
SONAR_PROJECT: ${GITHUB_REPOSITORY}
SONAR_BRANCH: ${GITHUB_REF_NAME }
SONAR_ORGANIZATION: ${{ vars.SONAR_ORGANIZATION }}
run: |
echo "run sonar on " $SONAR_BRANCH " for project key : " $SONAR_PROJECT
echo "run sonar on " $SONAR_BRANCH " for project key : " $SONAR_PROJECT " and organization " $SONAR_ORGANIZATION
mvn -B package sonar:sonar -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=$SONAR_ORGANIZATION -Dsonar.projectKey=$SONAR_PROJECT -Dsonar.branch.name=$SONAR_BRANCH

0 comments on commit 3ac1086

Please sign in to comment.