Browse Source

Exclude i18n files from code analysis

kezhenxu94 5 years ago
parent
commit
45d58cd984
1 changed files with 2 additions and 1 deletions
  1. 2 1
      .github/workflows/ci_ut.yml

+ 2 - 1
.github/workflows/ci_ut.yml

@@ -75,6 +75,7 @@ jobs:
           -Dsonar.core.codeCoveragePlugin=jacoco
           -Dsonar.projectKey=apache-dolphinscheduler
           -Dsonar.login=e4058004bc6be89decf558ac819aa1ecbee57682
+          -Dsonar.exclusions=dolphinscheduler-ui/src/**/i18n/locale/*.js
         env:
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
           SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
@@ -83,4 +84,4 @@ jobs:
           mkdir -p ${LOG_DIR}
           cd ${DOCKER_DIR}
           docker-compose logs db > ${LOG_DIR}/db.txt
-        continue-on-error: true
+        continue-on-error: true