Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroGlezC authored Jun 6, 2024
1 parent 7d1203a commit 7c755b0
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,9 @@ jobs:
cp -r syg-backend/SYG-bootstrap/target/site/jacoco-aggregate/* coverage/
cp syg-frontend/coverage/lcov.info coverage/
# SonarCloud analysis
# SonarCloud analysis
- name: SonarCloud Analysis
run: mvn org.sonarsource.scanner.maven:sonar-maven-plugin:sonar \
-Dsonar.projectBaseDir=. \
-Dsonar.sources=syg-backend,syg-frontend \
-Dsonar.coverage.jacoco.xmlReportPaths=coverage/jacoco.xml \
-Dsonar.javascript.lcov.reportPaths=coverage/lcov.info
run: mvn org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.coverage.jacoco.xmlReportPaths=coverage/jacoco.xml -Dsonar.javascript.lcov.reportPaths=coverage/lcov.info
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
working-directory: syg-backend
Expand Down

0 comments on commit 7c755b0

Please sign in to comment.