Skip to content

Commit

Permalink
Fixes issue piranhacloud#3255 - Run SonarCloud on build
Browse files Browse the repository at this point in the history
  • Loading branch information
mnriem committed Feb 19, 2023
1 parent a848d91 commit 504dfc5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ jobs:
run: |
mvn -B -ntp install verify site \
sonar:sonar -Dsonar.projectKey=piranhacloud_piranha \
-Dsonar.organization=piranhacloud -Dsonar.host.url=https://sonarcloud.io \
-Dsonar.login=${{ secrets.SONAR_LOGIN }}
-Dsonar.organization=piranhacloud -Dsonar.host.url=https://sonarcloud.io
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
sonatype:
if: github.repository == 'piranhacloud/piranha' && github.event_name != 'pull_request'
runs-on: ubuntu-latest
Expand Down

0 comments on commit 504dfc5

Please sign in to comment.