Skip to content

Commit

Permalink
SFD-5488 Commented sonarqube script
Browse files Browse the repository at this point in the history
  • Loading branch information
sethaguda committed Aug 15, 2023
1 parent 44ed944 commit 038daf4
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Check code format and quality
'on':
on:
push:
branches:
- master
Expand Down Expand Up @@ -34,12 +34,11 @@ jobs:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Build and Analyze with SonarQube
run: |
ls -la ${{ github.workspace }}
cd application
mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

# - name: Build and Analyze with SonarQube
# run: |
# ls -la ${{ github.workspace }}
# cd application
# mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

0 comments on commit 038daf4

Please sign in to comment.