File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -36,13 +36,11 @@ jobs:
36
36
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
37
37
SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
38
38
run : |
39
- REPO_NAME=$(echo "${{ github.repository }}" | cut -d '/' -f 2)
40
-
41
39
mvn verify -B -P prod,coverage "-Dstyle.color=always" \
42
40
org.sonarsource.scanner.maven:sonar-maven-plugin:sonar \
43
41
-Dsonar.host.url="https://sonarcloud.io" \
44
- -Dsonar.organization=soat-tech-challenge \
45
- -Dsonar.projectKey=soat-tech-challenge_$REPO_NAME
42
+ -Dsonar.organization=${{ github.repository_owner }} \
43
+ -Dsonar.projectKey=${{ github.repository_owner }}_${{ github.event.repository.name }}
46
44
47
45
- name : Build Dockerfile (no push)
48
46
if : ${{ inputs.docker == true || inputs.docker == 'true' }}
You can’t perform that action at this time.
0 commit comments