sonarscanner

Project code is not being analyzed for sonarqube

空扰寡人 提交于 2020-12-16 04:48:48
问题 I have a repo in azure DevOps with only folder as test. Now, I have given the task structure in this way in azure DevOps. But I cannot see the code getting analyzed in sonarqube. The code tab shows blank. Could someone help me with where I am going wrong?? I do not want to give folder name in sources..I want whatever code I add in the branch to be analyzed. edit: Just realized this is happening only for feature short lived branch..My sonarqube version is 8.0 steps: task: SonarQubePrepare@4

SonarScanner (C#) not honoring in-code StyleCop warning suppression

守給你的承諾、 提交于 2020-06-28 03:50:23
问题 I am trying to use SonarQube for static code analysis for my organization. All our C# projects already have StyleCop enabled which has helped us a lot in terms of code readability. Now we want to utilize SonarQube for static code analysis. I successfully hosted the SonarQube server locally following the guidelines provided here. I am able to run the analysis successfully and generate the sonarqube report when there are no warning-suppressions in the code. ISSUE: Sonarqube does not consider in

Launching Sonar Scanner from a gitlab docker runner

烂漫一生 提交于 2019-12-14 04:19:18
问题 I have a CI workflow that integrates a linting job and then a code quality job. My Linting job is a docker runner launching my eslint script from the application code. Then my code quality job is supposed to start a sonar scanner docker instance, check my code and send the reports back to my sonarqube instance. The problem is mainly with the fact that i can't launch correctly the sonar scanner with either solutions which are : Sonar Scanner Docker https://github.com/newtmitch/docker-sonar

SonarQube post processing fails with unknown reason

梦想与她 提交于 2019-12-11 03:25:45
问题 SonarQube is failing without any meaningful error message for a .NET C# project. I tried running the end command with the -X option but the -X format is unrecognized. SonarScanner.MSBuild.exe end -X /d:sonar.login="87195" Any ideas on what could be wrong ? I ran a simpler project with 2 - 3 cs files and that succeeds. : : INFO: Sensor Python Squid Sensor [python] (done) | time=1880ms INFO: Sensor PythonXUnitSensor [python] INFO: Sensor PythonXUnitSensor [python] (done) | time=529ms INFO:

Sonar scanner issue in jenkins

∥☆過路亽.° 提交于 2019-12-08 14:44:24
I am trying to integrate sonar with Jenkins in my local, when integrating the build is successfully and execution is success, but it is not getting finished success, it show below error and it show out of memory INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard/index/al-config-server INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AWWunlqCAbj3m24yQM89 INFO: Task total time: 6.254 s INFO: -----------------------------

Sonar scanner issue in jenkins

纵饮孤独 提交于 2019-12-08 08:34:52
问题 I am trying to integrate sonar with Jenkins in my local, when integrating the build is successfully and execution is success, but it is not getting finished success, it show below error and it show out of memory INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard/index/al-config-server INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report INFO: More about the report processing at http://localhost:9000