Questions tagged [sonarqube]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
30 views

SonarQube SCA fails on projects without Unit tests\VC++ and on projects where few Unit tests fail. How to fix this?

I finally started using SonarQube for code analysis in my projects recently, by setting up a community version of SonarQube server(offline) and was successfully able to integrate it on 2 of my .Net ...
0
votes
0answers
12 views

Jacoco code coverage is not being reflected to SonarQube

I've SonarQube 6.0 installed and I've jacoco agent settings done in setenv.sh of apache tomcat like - JAVA_OPTS="$JAVA_OPTS -DcoreJMX=true -DqueryJMX=true -javaagent:/home/oracle/Jacoco/jacoco-0.7.5....
0
votes
1answer
330 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
78 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
1k 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
1k 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
37 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 ...
1
vote
0answers
34 views

Change SonarQube Email Format

I have configured Email Notifications in sonarqube, but I want to change the Default Email Format. How can I change it? Project: XXXXX Version: 1.0 3 new issues (new debt: 30min) Type ...
3
votes
1answer
65 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 ...
3
votes
1answer
285 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
1k 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
728 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 ...