Questions tagged [sonarqube]
The sonarqube tag has no usage guidance.
15
questions
0
votes
1
answer
5k
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 ...
0
votes
0
answers
374
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:...
1
vote
0
answers
62
views
SonarQube in Azure Devops
I am a newbie to DevOps and wanted to learn things by doing.
What I have done:
I got my code into the Azure Repo (courtesy: Visual Studio Credits) and have a successful build.
Now I want to integrate ...
0
votes
1
answer
106
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).
...
2
votes
1
answer
4k
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
1
answer
342
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 ...
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 ...
1
vote
1
answer
1k
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
1
answer
704
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:...
1
vote
2
answers
6k
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 ...
2
votes
1
answer
2k
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 ...
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 ...
3
votes
1
answer
90
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
0
answers
893
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
...
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" ...