Hello SonarSource Community,
We are experiencing an issue while running SonarQube Cloud analysis through Bitbucket Pipelines.
Our SonarQube configuration is:
-Dsonar.organization=wellnessconnection-1
-Dsonar.projectKey=wellnessconnection_provider-dashboard
-Dsonar.projectName=provider-dashboard
-Dsonar.sources=.
-Dsonar.exclusions=**/node_modules/**,**/dist/**,**/build/**,**/.git/**,**/coverage/**,**/.next/**,**/.cache/**,**/public/**
-Dsonar.javascript.node.maxspace=4096
With this configuration, the SonarQube analysis step continues running for more than one hour and does not complete. The pipeline also does not display a clear error.
However, when we add the following property, the analysis completes within approximately two minutes and the issues are displayed on the SonarQube Cloud dashboard:
-Dsonar.jasmin.internal.js.ts.disabled=true
We understand that this internal property disables advanced JavaScript/TypeScript security analysis, so we do not want to use it as a permanent solution.
Expected behavior:
The scan should complete successfully with complete JavaScript/TypeScript security analysis enabled.
Actual behavior:
-
Without
sonar.jasmin.internal.js.ts.disabled=true, the scan runs for more than one hour and does not complete. -
With
sonar.jasmin.internal.js.ts.disabled=true, the scan completes in approximately two minutes.
Could you please review the attached sanitized pipeline log and screenshots and advise why the scan does not complete without this property?
Please also suggest how we can resolve this issue and run the scan with complete JavaScript/TypeScript security analysis enabled.
Thanks,
Kundan Singh Parmar
Pipeline -completed-2-minutes-log.txt (23.0 KB)
02-pipeline-hanging-after-one-hour.txt (14.7 MB)


