From a3b4b303b90d28186dec6f9ef8886c8645eca747 Mon Sep 17 00:00:00 2001 From: codex Date: Wed, 20 May 2026 01:21:51 -0300 Subject: [PATCH] ci: scope ariadne sonar to app sources --- Jenkinsfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 7c5360a..f85c228 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -216,7 +216,9 @@ spec: "-Dsonar.login=${SONARQUBE_TOKEN}" "-Dsonar.projectKey=${SONARQUBE_PROJECT_KEY}" "-Dsonar.projectName=${SONARQUBE_PROJECT_KEY}" - "-Dsonar.sources=." + "-Dsonar.sources=ariadne" + "-Dsonar.tests=tests" + "-Dsonar.python.version=3.12" "-Dsonar.exclusions=**/.git/**,**/build/**,**/dist/**,**/node_modules/**,**/.venv/**,**/__pycache__/**,**/coverage/**,**/test-results/**,**/playwright-report/**" "-Dsonar.test.inclusions=**/tests/**,**/testing/**,**/*_test.go,**/*.test.ts,**/*.test.tsx,**/*.spec.ts,**/*.spec.tsx" ) @@ -392,7 +394,9 @@ printf '%s\n' "${gate_rc}" > build/quality-gate.rc "-Dsonar.login=${SONARQUBE_TOKEN}" "-Dsonar.projectKey=${SONARQUBE_PROJECT_KEY}" "-Dsonar.projectName=${SONARQUBE_PROJECT_KEY}" - "-Dsonar.sources=." + "-Dsonar.sources=ariadne" + "-Dsonar.tests=tests" + "-Dsonar.python.version=3.12" "-Dsonar.exclusions=**/.git/**,**/build/**,**/dist/**,**/node_modules/**,**/.venv/**,**/__pycache__/**,**/coverage/**,**/test-results/**,**/playwright-report/**" "-Dsonar.test.inclusions=**/tests/**,**/testing/**,**/*_test.go,**/*.test.ts,**/*.test.tsx,**/*.spec.ts,**/*.spec.tsx" "-Dsonar.python.coverage.reportPaths=build/coverage.xml"