Hi team, we are using sonarqube community version 8.9.10 and installed using docker.
It is successfully analyzing .ts files in another projects but it is not able to analyze .tsx files.
we are using sonarscanner from bitbucket pipelines.
- pipe: sonarsource/sonarqube-scan:1.1.0
variables:
SONAR_HOST_URL: ${SONAR_HOST_URL}
SONAR_TOKEN: ${SONAR_TOKEN}
SONAR_SCANNER_OPTS: -Xmx256m
EXTRA_ARGS: ‘-Dsonar.projectKey=project1 -Dsonar.sources=src -Dsonar.host.url=SONAR_HOST_URL -Dsonar.typescript.tsconfigPath=tsconfig.json -Dsonar.typescript.file.suffixes=.tsx,.ts -Dsonar.language=ts’
- pipe: sonarsource/sonarqube-quality-gate:1.1.0
variables:
SONAR_TOKEN: ${SONAR_TOKEN}
I have tried multiple option inducing -Dsonar.inclusions with .tsx files but it was not working.Additionally, i have tried running this without any src folder details even then it was not analysing .tsx files.
please help us in this regard.