Azure / spring-cloud-azure-tools

Tools (including Github Actions) used by spring cloud azure team
MIT License
4 stars 6 forks source link

Excloude eng folder from the sonar report #1

Closed saragluna closed 2 years ago

saragluna commented 2 years ago

As subject.

There're two approaches to exclude the folder:

This PR will choose the second one, so the code of eng/ folder won't show on the report at all.

Refs: https://stackoverflow.com/questions/21425012/configure-sonar-to-exclude-files-from-maven-pom-xml https://community.sonarsource.com/t/sonarcloud-doesnt-exclude-specific-folder/36852/6

saragluna commented 2 years ago

https://github.com/Azure/spring-cloud-azure-tools/runs/6110069229?check_suite_focus=true https://sonarcloud.io/code?id=stliu_azure-sdk-for-java