From 3b936b3c94104ba0901bc22a46935bddaaa28c7b Mon Sep 17 00:00:00 2001 From: AlexisErazoGlobant <168037709+AlexisErazoGlobant@users.noreply.github.com> Date: Fri, 28 Jun 2024 12:02:46 -0500 Subject: [PATCH] DYN-7116 (#107) * Add Sonar stuff. * Command update! * Use common build machines (#102) The perf machines in the Boston office currently have no access to SonarQube. Ticket has been filed. * Testing dotnet Scanner for @sm6srw (#103) Co-authored-by: Alexis Erazo * Remove dotnet coverage part of test scripts. * Add dotnet sonar scanner. --------- Co-authored-by: Alexis Erazo Co-authored-by: Jorgen Dahl --- pipeline.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pipeline.yml b/pipeline.yml index 6d0cc9f..3df7a34 100644 --- a/pipeline.yml +++ b/pipeline.yml @@ -37,7 +37,7 @@ ci_test: tests: - scripts: - - "dotnet test --no-build --configuration Release src/GregClient.sln --logger:junit --logger:trx" + - dotnet coverage collect "dotnet test --no-build --configuration Release src/GregClient.sln --logger:junit --logger:trx" -f xml -o "coverage.xml" test_report_dir: src\\GregClientTests\\TestResults test_report_pattern: @@ -46,7 +46,7 @@ ci_test: code_analysis: sonarqube: - useDotnetSonarScanner: false + useDotnetSonarScanner: true scanOnAnyBranch: true coverage_reports: - coverage.xml