Category : sonarqube

I have setup SonarQube 8.9 on my local laptop using Docker image. I am able to launch the SonarQube server at http://localhost:9000/. Every thing works good from Browser. But if I try to run sonnar scanner I get this error. Any help is appreciated C:repo>sonar-scanner -Dsonar.host.url="http://localhost:9000" -Dsonar.login="key" [18:00:22] Starting analysis… [18:00:22] Checking if executable exists: ..

Read more

I have been trying to do the "Running SonarScanner from the Docker image" from the documentation" INFO: Scanner configuration file: /opt/sonar-scanner/conf/sonar-scanner.properties INFO: Project root configuration file: NONE INFO: SonarScanner 4.6.0.2311 INFO: Java 11.0.11 AdoptOpenJDK (64-bit) INFO: Linux 5.10.25-linuxkit amd64 INFO: User cache: /opt/sonar-scanner/.sonar/cache INFO: Scanner configuration file: /opt/sonar-scanner/conf/sonar-scanner.properties INFO: Project root configuration file: NONE INFO: ..

Read more

On root I used : dotnet tool install –global dotnet-sonarscanner –version 4.7.1to install sonarscanner and it’s working: SonarScanner for MSBuild 4.7.1 Using the .NET Core version of the Scanner for MSBuild WARNING: Please specify the command ‘begin’ or ‘end’ to indicate whether pre- or post-processing is required. These parameters will become mandatory in a later ..

Read more

CentOS 7 Docker 20.10.5 java version "1.8.0_162" PostgreSQL 9.6.2 I try to start SonarQube 8.8 in Docker like this: sudo docker run –name sonarqube -p 9001:9000 –add-host host.docker.internal:host-gateway -e SONARQUBE_JDBC_USERNAME=sonar -e SONARQUBE_JDBC_PASSWORD=sonar -e SONARQUBE_JDBC_URL=jdbc:postgresql://host.docker.internal:5432/sonar sonarqube But I get error: ERROR web[][o.s.s.p.PlatformImpl] Web server startup failed: Current version is too old. Please upgrade to Long Term ..

Read more

CentOS 7 Docker 20.10.5 In my machine run PostgreSQL 9.5 and success open my db: localhost:5432/sonar And success open DB by PGAdmin Nice. Now in Docker I installed SonarQube 4.5. And want to connect to my db. I try this: sudo docker run -e SONARQUBE_JDBC_USERNAME=sonar -e SONARQUBE_JDBC_PASSWORD=sonar -e SONARQUBE_JDBC_URL=jdbc:postgresql://localhost:5432/sonar sonarqube:4.5.7 But I get error: 2021.04.20 ..

Read more

I got this error eventhough I tried to run node –max-old-space-size=16384 ./sonarqube/sonar-project.js nor use sonar.javascript.node.maxspace=16384 inside sonar-project.properties: ERROR: eslint-bridge Node.js process is unresponsive. This is most likely caused by process running out of memory. Consider setting sonar.javascript.node.maxspace to higher value (e.g. 4096). ERROR: Failure during analysis, Node.js command to start eslint-bridge was: node –max-old-space-size=16384 /Github/project/.scannerwork/.sonartmp/eslint-bridge-bundle/package/bin/server ..

Read more