Skip to content

Commit 85256a3

Browse files
authored
Fix sonar metrics (jhipster#708)
1 parent 1ab8397 commit 85256a3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

generators/server/templates/dotnetcore/src/Project/Project.csproj.ejs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,13 @@
8686
8787
<ItemGroup>
8888
<SonarQubeSetting Include="sonar.exclusions">
89-
<Value>$(SpaRoot)dist/**,$(SpaRoot)build/**,$(SpaRoot)dist,$(SpaRoot)src/content/**,$(SpaRoot)src/i18n/**,$(SpaRoot)webpack/**,$(SpaRoot)test/**</Value>
89+
<Value>$(SpaRoot)dist/**,$(SpaRoot)target/**,$(SpaRoot)dist,$(SpaRoot)src/content/**,$(SpaRoot)src/i18n/**,$(SpaRoot)webpack/**,$(SpaRoot)test/**</Value>
9090
</SonarQubeSetting>
9191
<SonarQubeSetting Include="sonar.testExecutionReportPaths">
92-
<Value>$(SpaRoot)build/test-results/jest/TESTS-results-sonar.xml</Value>
92+
<Value>$(SpaRoot)target/test-results/jest/TESTS-results-sonar.xml</Value>
9393
</SonarQubeSetting>
9494
<SonarQubeSetting Include="sonar.javascript.lcov.reportPaths">
95-
<Value>$(SpaRoot)build/test-results/lcov.info</Value>
95+
<Value>$(SpaRoot)target/test-results/lcov.info</Value>
9696
</SonarQubeSetting>
9797
</ItemGroup>
9898

0 commit comments

Comments
 (0)