Questions tagged [sonarqube]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
40 views

Sonarqube taking massive amounts of memory

I am running Sonarqube on a monolithic application on our CI server and the scanner (not the Sonarqube server) is taking over 60GB of memory. Is this normal? What can I do so the scanner will not use ...
0
votes
1answer
736 views

Sonar Quality Gate behavior in Jenkins pipeline is unstable

I have some pipelines in Jenkins, with the SonarQube stage (Version: 6.7.1, build 35068) In some builds it is aborted due to time out: 12:19:01 Sleeping for 3 min 0 sec [Pipeline] timeout 12:22:10 ...
1
vote
1answer
151 views

Sonarqube stage in jenkins pipeline fails with 403 error

have a pipeline job which keeps failing on Sonar Quality Gate stage with the below error: [Bitbucket] Build result notified org.sonarqube.ws.client.HttpException: Error 403 on http://illinXXXX:...
0
votes
2answers
3k views

JAVA_HOME error in Sonar Scanner for MSBuild

I have set up a sonar scanner MSBuild in Jenkins, but suddenly I'm getting below error. ERROR: JAVA_HOME exists but does not point to a valid Java home folder. No "\bin\java.exe" file can be ...
1
vote
1answer
3k views

Problem with Connecting Jenkins to SonarQube

I have a Jenkins pipeline that periodically pull from gitlab and build different repos, build a multi-component platform, run and test it. Now I installed a sonarqube server on the same machine (...
1
vote
1answer
608 views

Clear Sonarqube Current Analysis

I want to clear Sonarqube project current code analysis and make the project blank. Is it possible? I know we can clear all the previous analysis, but I want to clear the current analysis of Sonarqube ...
3
votes
1answer
73 views

What is the need of plugins in Jenkins (Sonarqube)

On learning about integrating Sonarqube to CI/CD pipeline, I came across the Sonarqube Jenkins plugin which most of the online blogs recommends. After configuring it, I realized that the working is ...
4
votes
1answer
573 views

Is there any way of getting code coverage with molecule?

I'm currently working on testing Ansible roles with Molecule. I have one role with 2 scenarios that are executed in Jenkins but just before that, those are submitted to a SonarQube analysis. So I ...
0
votes
1answer
1k views

How to access report data from Sonarcloud.io aka SonarQube API, or functionality no more available?

Thanks to SonarCloud.io, you can perform static code analysis without own infrastructure. But, is there an API to access data shown in Sonar dashboard? What I can find so far, is the "Sonar Web API" ...
5
votes
1answer
2k views

How to change Xmx settings for sonar runner?

This Question has been answered on Stackoverflow too. I have a Sonarqube instance running as a docker container. Since I updated it to version 7.1 the analysis of my greatest project fails with GC ...
4
votes
0answers
774 views

API to fetch Quality Gate Failures [closed]

In our Jenkins pipeline, we have a step for Sonar analysis (configured with QualityGate profiles) and the current process is: Sonar scanner runs as part of the pipeline step and initiates a task ...