From f020ac1d8e174c0ced0946929421642494151e7e Mon Sep 17 00:00:00 2001 From: sn-ravance <88193495+sn-ravance@users.noreply.github.com> Date: Mon, 20 Dec 2021 15:32:44 -0600 Subject: [PATCH 1/3] Delete sonar-project.properties --- sonar-project.properties | 1 - 1 file changed, 1 deletion(-) delete mode 100644 sonar-project.properties diff --git a/sonar-project.properties b/sonar-project.properties deleted file mode 100644 index fd439ad..0000000 --- a/sonar-project.properties +++ /dev/null @@ -1 +0,0 @@ -sonar.projectKey=Iv1.2815efa9f94be6d8 From 8bf95fe85ac3a85e180982a16e2e5c56661f6d5e Mon Sep 17 00:00:00 2001 From: sn-ravance <88193495+sn-ravance@users.noreply.github.com> Date: Mon, 20 Dec 2021 15:33:07 -0600 Subject: [PATCH 2/3] Delete .github/workflows directory --- .github/workflows/build.yml | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index ca259a7..0000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Build -on: - push: - branches: - - master # or the name of your main branch -jobs: - build: - name: Build - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - uses: sonarsource/sonarqube-scan-action@master - env: - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} - # If you wish to fail your job when the Quality Gate is red, uncomment the - # following lines. This would typically be used to fail a deployment. - # - uses: sonarsource/sonarqube-quality-gate-action@master - # timeout-minutes: 5 - # env: - # SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} From 482de57ddfff8fa56afabcadd1fd160459148ccf Mon Sep 17 00:00:00 2001 From: sn-ravance <88193495+sn-ravance@users.noreply.github.com> Date: Mon, 20 Dec 2021 15:41:20 -0600 Subject: [PATCH 3/3] Update build.gradle --- build.gradle | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build.gradle b/build.gradle index 81576d1..f9c6df9 100644 --- a/build.gradle +++ b/build.gradle @@ -2,6 +2,7 @@ plugins { id 'org.springframework.boot' version '2.6.1' id 'io.spring.dependency-management' version '1.0.11.RELEASE' id 'java' + id "org.sonarqube" version "3.3" } group = 'fr.christophetd.log4shell' @@ -23,3 +24,9 @@ dependencies { test { useJUnitPlatform() } + +sonarqube { + properties { + property "sonar.projectKey", "Iv1.2815efa9f94be6d8" + } +}