Template for a good new topic, formatted with Markdown:
- ALM used Bitbucket
- CI system used Bitbucket
- Scanner command used when applicable (private details masked): -Dsonar.sources="src/api/v2" -Dsonar.javascript.node.maxspace="8192" -Dsonar.sourceEncoding="UTF-8"
- Javascript/Typescript
- Error observed (wrap logs/code around with triple quotes ``` for proper formatting)
INFO: Starting analysis with current program
ERROR: Failure during analysis, Node.js command to start eslint-bridge was: node --max-old-space-size=8192 /opt/atlassian/pipelines/agent/build/.scannerwork/.sonartmp/eslint-bridge-bundle/package/bin/server 46357 127.0.0.1 /opt/atlassian/pipelines/agent/build/.scannerwork true false /opt/atlassian/pipelines/agent/build/.scannerwork/.sonartmp/eslint-bridge-bundle/package/custom-rules16285232125395147924/package
java.lang.IllegalArgumentException: Overlapping symbol declaration and reference for symbol at Range[from [line=139, lineOffset=11] to [line=139, lineOffset=40]]
at org.sonar.api.utils.Preconditions.checkArgument(Preconditions.java:43)
at org.sonar.api.batch.sensor.symbol.internal.DefaultSymbolTable$DefaultSymbol.newReference(DefaultSymbolTable.java:96)
at org.sonar.api.batch.sensor.symbol.internal.DefaultSymbolTable$DefaultSymbol.newReference(DefaultSymbolTable.java:90)
at org.sonar.plugins.javascript.eslint.AnalysisProcessor.saveHighlightedSymbols(AnalysisProcessor.java:200)
at
- Steps to reproduce
pull-requests:
'**':
- step:
name: Run Sonarqube in backend
script:
- pipe: sonarsource/sonarcloud-scan:1.4.0
variables:
EXTRA_ARGS: -Dsonar.sources=\"src/api/v2\" -Dsonar.javascript.node.maxspace=\"8192\" -Dsonar.sourceEncoding=\"UTF-8\"
SONAR_SCANNER_OPTS: "-Xmx4096m"
- pipe: sonarsource/sonarcloud-quality-gate:0.1.6