Hi,
When I see the sonar.inclusions property, the code section in sonarcloud is empty. When I do not define the sonar.inclusions property, the code section in sonarcloud isn’t empty, but only assets are shown, and no .vue, .js and .ts files are shown, the folder name matches the name of the actual folder.
This is my sonarcloud prepare:
- task: SonarCloudPrepare@3
inputs:
sonarCloud: SonarCloud
organization: {{ORGNAME}}
scannerMode: CLI
configMode: 'manual'
cliProjectKey: {{PROJECT_KEY}}
cliProjectName: {{PROJECTNAME}}
cliSources: '$(System.DefaultWorkingDirectory)/{{FOLDER_NAME}}/src/'
extraProperties: |
sonar.inclusions=**/*.js,**/*.ts,**/*.vue
sonar.javascript.lcov.reportPaths={{FOLDER_NAME}}/coverage/lcov.info