sonarqube-scan

Unable to integrate SonarQube analysis results with VSTS Build Summary

£可爱£侵袭症+ 提交于 2019-12-23 18:13:50
问题 I am using Prepare, Run and Publish analysis tasks in VSTS to run the SonarQube analysis and publish the results to build summary. First two steps execute successfully but the 'Publish Analysis' task fails because it is not able to fetch the task for analysis ID. I get the following error message: Could not fetch task for ID 'AWE9-wu8-fbfJflhFQ3-' VSTS Publish Analysis Task Log: 2018-01-28T18:15:28.1037139Z ##[debug][SQ] Waiting for task 'AWE9-wu8-fbfJflhFQ3-' to complete. 2018-01-28T18:15:28

Sonarqube grade build failed with “SonarQube server [http://x.12.11.18:9000] can not be reached”

时光毁灭记忆、已成空白 提交于 2019-12-23 12:26:04
问题 I'm experiencing a strange problem when running "gradlew sonarqube" with proxy. I have sonarqube server installed (using 2 minutes quick installation guide) on a remote server with IP: x.12.11.18. When running the "gradlew sonarqube" on my local Mac, I got the error below. ./gradlew sonarqube :app:sonarqube SonarQube server [http://x.12.11.18:9000] can not be reached :app:sonarqube FAILED FAILURE: Build failed with an exception. However, if I comment out systemProp.http.proxyPort settings in

SonarQube 6.2 upgrade to 6.4 Missing projects and users

大城市里の小女人 提交于 2019-12-23 10:19:20
问题 On Debian Jessie I had an installed version of SonarQube 6.2 using Postgresql (latest on Jessie ) Java 8 installed I went through the upgrade process (to v. 6.4)Here When it came back online all the projects were missing. I can get to them by manually typing in the URL to the project like: https://[address of server]/dashboard?id=[Name of Project] Also the in the user admin section (Administration>Security>Users) I see no users. However if I go to groups (Administration>Security>Groups) my

SonarQube 6.2 upgrade to 6.4 Missing projects and users

走远了吗. 提交于 2019-12-23 10:17:17
问题 On Debian Jessie I had an installed version of SonarQube 6.2 using Postgresql (latest on Jessie ) Java 8 installed I went through the upgrade process (to v. 6.4)Here When it came back online all the projects were missing. I can get to them by manually typing in the URL to the project like: https://[address of server]/dashboard?id=[Name of Project] Also the in the user admin section (Administration>Security>Users) I see no users. However if I go to groups (Administration>Security>Groups) my

Sonarqube C# v5.5.2 still has “java.lang.IllegalArgumentException: is not a valid line offset for pointer”

丶灬走出姿态 提交于 2019-12-23 04:13:33
问题 This is related to Sonarqube C# scanner exception: "java.lang.IllegalArgumentException: is not a valid line offset for pointer" Using Sonarqube v5.6.4 on a windows server, c# scanner v5.5.2.537. MSBuild version is: Microsoft (R) Build Engine version 14.0.25420.1 I'm just using the non-service mode, StartSonar.bat while trying to get it working on this codebase, if that makes any difference. The GlobalSuppressions.cs file in question is UTF-16. You can view it in an online hex editor. INFO:

How does sonar:sonar work?

梦想与她 提交于 2019-12-22 04:33:17
问题 We want to use SonarQube with some CI tool in our project. Sonar Server url is configured in main pom.xml . There are several team memebers in the project. So what happen when one team member executes sonar:sonar locally with his local changes, then another team member executes sonar:sonar with his local changes, and then someone executes sonar:sonar from CI tool (it is configured to analyse source code in Git repository)? Will SonarQube display issues related team members local changes? What

Error while executing Sonarqube analysis “ Insufficient privileges”

谁说胖子不能爱 提交于 2019-12-21 19:17:54
问题 I am trying to analyse java code through sonarqube. We have created a sonarqube server in our local environment and not using sonar cloud. I tried using sonar maven plugin initially form this link Sonar-Maven Plugin However I faced an "Insufficient privileges" error. [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 22.185 s [INFO] Finished at: 2017-09-18T13:04:47+10:00 [INFO] Final Memory: 64M/589M [INFO] -----------------

Sonarqube authorization - how to authorize with sonar-maven-plugin when sonar.forceAuthentication is enabled

与世无争的帅哥 提交于 2019-12-21 12:01:06
问题 I've got sonarqube 6.5 with default configs. When sonar.forceAuthentication flag is set to false, I can create and analyse project through command given below. mvn sonar:sonar -Dsonar.host.url=https://mySonarHost/sonar -Dsonar.login=mySonarUserKey When I enable sonar.forceAuthentication parameter (sonar.forceAuthentication=true), I can't analyse project. I always get maven error: [ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.3.0.603:sonar (default-cli) on

Sonar - Unable to load component class org.sonar.scanner.scan.ProjectLock

狂风中的少年 提交于 2019-12-21 07:14:02
问题 I have some issues while running Sonar on my netbeans' project. It's not working and i have the following error : C:\Users\remy.fischer\Desktop\NetBeansProjects\NetBeansProjects\BinPacking\sonar-scanner-3.0.3.778-windows\bin>sonar-scanner -Dsonar.projectKey=..... -Dsonar.projectName=... INFO: Scanner configuration file: C:\Users\remy.fischer\Desktop\NetBeansProjects \NetBeansProjects\BinPacking\sonar-scanner-3.0.3.778-windows\bin\..\conf\sonar-s canner.properties INFO: Project root

Where is line based SCM blame information stored?

倾然丶 夕夏残阳落幕 提交于 2019-12-20 05:52:43
问题 I can see line based SCM blame information in UI, but where is it stored and how can I retrieve through web API? I am using Perforce plugin. The issue is that the Perforce plugin finds the blame information from history, and because of that if a user has created a debt in a past branch, it still shows on his name in the current branch analysis. The Perforce plugin does not have any such way to disable looking into history beyond the current branch. I need to find another way to find out, if