Skip to main content

Questions tagged [sonarqube]

The tag has no usage guidance.

0 votes
0 answers
898 views

Sonar analysis successful but not seeing report-task.txt file

I am running sonar analysis on PR jobs using jenkins freesytle project. sonar analysis is running fine, after run it is showing as [INFO] ANALYSIS SUCCESSFUL But in the next line it is throwing WARN:...
rahuls_'s user avatar
0 votes
1 answer
7k views

How to point Environmental variable SONAR_JAVA_PATH to Java Executable?

After I launched command StartSonar, I get this error message: ERROR: java.exe not found. Please make sure that the environmental variable SONAR_JAVE_PATH points to the Java executable. What is ...
Mahesh's user avatar
  • 1
0 votes
1 answer
125 views

integrate sonarqube with kubernetes

I am trying to integrate sonarqube on kubernetes , my sonarqube service is up and running in when i do "kubectl get services". but i am unable to fetch that url i.e. (Poratal access url). ...
pranali sutar's user avatar
1 vote
1 answer
525 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 ...
David West's user avatar
  • 1,483
1 vote
1 answer
2k 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 ...
arielma's user avatar
  • 339
1 vote
1 answer
772 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:...
arielma's user avatar
  • 339
1 vote
2 answers
7k 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 ...
ankit thakkar's user avatar
2 votes
1 answer
5k 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 (...
AVarf's user avatar
  • 205
2 votes
1 answer
3k 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 ...
ankit thakkar's user avatar
3 votes
1 answer
96 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 ...
PDHide's user avatar
  • 133
5 votes
1 answer
1k 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 ...
Yoiro's user avatar
  • 151
0 votes
1 answer
2k 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" ...
Ta Mu's user avatar
  • 6,782
5 votes
1 answer
3k 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 ...
tgr's user avatar
  • 448
4 votes
0 answers
911 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 ...
Pranay's user avatar
  • 41