From 30b4f632d1cb8abd0753d880b83e15927ece8ed6 Mon Sep 17 00:00:00 2001
From: kon0379 <jakub.konvicka@vsb.cz>
Date: Wed, 10 Jan 2024 19:26:28 +0000
Subject: [PATCH] Update .gitlab-ci.yml file

---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 431125f..24435f2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -104,7 +104,7 @@ sonarqube-check:
     paths:
       - .sonar/cache
   script: 
-      - "dotnet sonarscanner begin /k:\"kon0379DiplomaThesis\" /d:sonar.token=\"$SONAR_TOKEN\" /d:\"sonar.host.url=$SONAR_HOST_URL\" /d:sonar.cs.opencover.reportsPaths=\"TestResults/*/*.xml\""
+      - "dotnet sonarscanner begin /k:\"kon0379DiplomaThesis\" /d:sonar.token=\"$SONAR_TOKEN\" /d:\"sonar.host.url=$SONAR_HOST_URL\" /d:sonar.cs.opencover.reportsPaths=\"**/coverage.cobertura.xml\""
       - "sudo dotnet test --collect:\"XPlat Code Coverage\""
       - "dotnet sonarscanner end /d:sonar.token=\"$SONAR_TOKEN\""
   allow_failure: true
-- 
GitLab