Skip to content

Commit

Permalink
chore: add blank space & env.
Browse files Browse the repository at this point in the history
  • Loading branch information
devjun10 committed Jul 26, 2024
1 parent 507bdb5 commit 641e8cc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:
distribution: 'temurin'
cache: "gradle"


- name: Execute Static Analysis
id: static_analysis
run: |
./gradlew api:build sonar
./gradlew api:build sonarqube
env:
GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_PROJECT_KEY: ${{ secrets.SONAR_PROJECT_KEY }}
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ allprojects {

sonarqube {
properties {
property("sonar.projectKey", System.getenv("PROJECT_KEY"))
property("sonar.organization", System.getenv("ORGANIZATION"))
property("sonar.host.url", "https://sonarcloud.io")
property("sonar.organization", "sonar-ex")
property("sonar.token", System.getenv("SONAR_TOKEN"))
property("sonar.projectKey", System.getenv("SONAR_PROJECT_KEY"))
property("sonar.host.url", "https://sonarcloud.io")
property("sonar.language", "java")
property("sonar.sourceEncoding", "UTF-8")
property("sonar.test.inclusions", "**/*Test.java")
Expand Down

0 comments on commit 641e8cc

Please sign in to comment.