Skip to content

Commit d01f000

Browse files
authored
Add include dirs to SonarQube scanner (#1274)
Sometimes our cppcheck or valgrind reports issues in include directories, but can't report it to SonarQube due to missing inlude dirs as source code. Relates-To: OAM-1302 Signed-off-by: Yaroslav Stefinko <[email protected]>
1 parent f098e07 commit d01f000

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/linux/nv/sonar-project.propertiesValgrind

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
sonar.projectKey=com.here.edge-platform:olp-cpp-sdk-Valgrind
22
sonar.projectName=olp-cpp-sdk-Valgrind
33
sonar.projectVersion=data-sdk-cpp-${env.CI_COMMIT_BRANCH}:${env.CI_COMMIT_SHORT_SHA}-${env.CI_PIPELINE_ID}
4-
sonar.sources=./olp-cpp-sdk-authentication/src/,./olp-cpp-sdk-core/src/,./olp-cpp-sdk-dataservice-read/src/,./olp-cpp-sdk-dataservice-write/src/
4+
sonar.sources=./olp-cpp-sdk-authentication/src/,./olp-cpp-sdk-core/src/,./olp-cpp-sdk-dataservice-read/src/,./olp-cpp-sdk-dataservice-write/src/,./olp-cpp-sdk-authentication/include/,./olp-cpp-sdk-core/include/,./olp-cpp-sdk-dataservice-read/include/,./olp-cpp-sdk-dataservice-write/include/
55
sonar.tests=./olp-cpp-sdk-authentication/tests/,./olp-cpp-sdk-core/tests/,./olp-cpp-sdk-dataservice-read/tests/,./olp-cpp-sdk-dataservice-write/tests/
66
sonar.test.exclusions=./olp-cpp-sdk-authentication/tests/,./olp-cpp-sdk-core/tests/,./olp-cpp-sdk-dataservice-read/tests/,./olp-cpp-sdk-dataservice-write/tests/
77
sonar.exclusions=**/*.java

0 commit comments

Comments
 (0)