- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
自上周五 (04/01/2016) 以来,我们在公司中使用 Sonar 。
不知何故,我们项目的一个问题全部解决了(实际上没有得到修复)。
现在该项目没有得到任何问题。我们甚至删除了 sonarqube 中的项目并重新开始分析,这也没有问题。
我们尝试了许多不同的方法来解决问题
(即使是故意犯错,但这也不会在 Sonar 中产生任何问题)
我们正在运行最新版本的 sonarqube(版本 5.4),我们从 TFS 2015 开始分析(使用 sonarqube 开始和结束构建步骤)
知道为什么 sonarqube 没有解决这个项目中的任何问题吗?而其他项目工作正常?
更新:
这发生在我们为此构建启用代码覆盖之后。
更新 2:
开始记录
2016-04-01T13:52:46.3608006Z Executing the powershell script: D:\TFS\Agents\tasks\SonarQubePreBuild\1.0.34\SonarQubePreBuild.ps1
2016-04-01T13:52:48.8767055Z ##[debug]
2016-04-01T13:52:49.1486023Z SonarQube Scanner for MSBuild 1.1
2016-04-01T13:52:49.2491975Z Default properties file was not found at D:\TFS\Agents\tasks\SonarQubePreBuild\1.0.34\MSBuild.SonarQube.Runner-1.1\SonarQube.Analysis.xml
2016-04-01T13:52:49.2491975Z Pre-processing started.
2016-04-01T13:52:49.2501934Z Preparing working directories...
2016-04-01T13:52:49.2501934Z Checking for updates...
2016-04-01T13:52:49.4643435Z SonarQube Scanner for MSBuild Begin Step 2.0
2016-04-01T13:52:49.4653311Z 15:52:49.298 Default properties file was not found at D:\TFS\Agents\_work\2\.sonarqube\bin\SonarQube.Analysis.xml
2016-04-01T13:52:49.4812668Z 15:52:49.318 Updating build integration targets...
2016-04-01T13:52:49.5728988Z 15:52:49.34 Fetching analysis configuration settings...
2016-04-01T13:52:50.6017668Z 15:52:50.48 Generating rulesets...
2016-04-01T13:52:52.4025329Z 15:52:52.298 Provisioning analyzer assemblies...
2016-04-01T13:52:52.4025329Z 15:52:52.3 Installing required Roslyn analyzers...
2016-04-01T13:52:52.4035284Z Pre-processing succeeded.
2016-04-01T13:53:07.9072565Z Executing the powershell script: D:\TFS\Agents\tasks\SonarQubePostTest\1.0.36\SonarQubePostTest.ps1
2016-04-01T13:53:13.0399547Z SonarQube Scanner for MSBuild 1.1
2016-04-01T13:53:13.0439418Z Default properties file was not found at D:\TFS\Agents\tasks\SonarQubePreBuild\1.0.34\MSBuild.SonarQube.Runner-1.1\SonarQube.Analysis.xml
2016-04-01T13:53:13.0439418Z Post-processing started.
2016-04-01T13:53:13.2623017Z SonarQube Scanner for MSBuild End Step 2.0
2016-04-01T13:53:13.2632986Z 15:53:13.185 Fetching code coverage report information from TFS...
2016-04-01T13:53:13.2632986Z 15:53:13.188 Attempting to locate a test results (.trx) file...
2016-04-01T13:53:13.2632986Z 15:53:13.188 Located a test results file: D:\TFS\Agents\_work\2\TestResults\********_DENHELDER 2016-04-01 15_53_04.trx
2016-04-01T13:53:13.3739732Z WARNING: File is not under the project directory and cannot currently be analysed by SonarQube. File: C:\Users\********\AppData\Local\Temp\.NETFramework,Version=v4.5.AssemblyAttributes.cs, project: D:\TFS\Agents\_work\2\s\UrlNameSetter\Dev\******.Tools.UrlNameSetter\******.Tools.UrlNameSetterTests\******.Tools.UrlNameSetterTests.csproj
2016-04-01T13:53:13.3799577Z WARNING: File is not under the project directory and cannot currently be analysed by SonarQube. File: C:\Users\********\AppData\Local\Temp\.NETFramework,Version=v4.5.AssemblyAttributes.cs, project: D:\TFS\Agents\_work\2\s\UrlNameSetter\Dev\******.Tools.UrlNameSetter\******.Tools.UrlNameSetter\******.Tools.UrlNameSetter.csproj
2016-04-01T13:53:13.3849424Z SONAR_RUNNER_OPTS is not configured. Setting it to the default value of -Xmx1024m
2016-04-01T13:53:13.3899308Z Calling the SonarQube Scanner...
2016-04-01T13:53:13.6152663Z D:\TFS\Agents\_work\2\.sonarqube\bin\sonar-runner\bin\..
2016-04-01T13:53:13.8206640Z SonarQube Runner 2.4
2016-04-01T13:53:13.8206640Z Java 1.8.0_77 Oracle Corporation (64-bit)
2016-04-01T13:53:13.8206640Z Windows Server 2012 R2 6.3 amd64
2016-04-01T13:53:13.8216606Z SONAR_RUNNER_OPTS=-Xmx1024m
2016-04-01T13:53:13.8216606Z INFO: Error stacktraces are turned on.
2016-04-01T13:53:13.8216606Z INFO: Runner configuration file: D:\TFS\Agents\_work\2\.sonarqube\bin\sonar-runner\bin\..\conf\sonar-runner.properties
2016-04-01T13:53:13.8226578Z INFO: Project configuration file: D:\TFS\Agents\_work\2\.sonarqube\out\sonar-project.properties
2016-04-01T13:53:13.9243592Z INFO: Default locale: "en_US", source code encoding: "UTF-8"
2016-04-01T13:53:13.9243592Z INFO: Work directory: D:\TFS\Agents\_work\2\.sonarqube\out\.sonar
2016-04-01T13:53:14.0270583Z INFO: SonarQube Server 5.4
2016-04-01T13:53:15.4718195Z 15:53:15.217 INFO - Load global repositories
2016-04-01T13:53:16.8497760Z 15:53:16.772 INFO - Load global repositories (done) | time=1551ms
2016-04-01T13:53:16.9504838Z 15:53:16.848 INFO - User cache: C:\Users\********\.sonar\cache
2016-04-01T13:53:17.5657725Z 15:53:17.407 INFO - Load plugins index
2016-04-01T13:53:17.5666818Z 15:53:17.419 INFO - Load plugins index (done) | time=12ms
2016-04-01T13:53:19.8280384Z 15:53:19.693 INFO - Process project properties
2016-04-01T13:53:19.9287435Z 15:53:19.829 INFO - Load project repositories
2016-04-01T13:53:20.4322672Z 15:53:20.341 INFO - Load project repositories (done) | time=512ms
2016-04-01T13:53:20.5489246Z 15:53:20.379 INFO - Apply project exclusions
2016-04-01T13:53:20.5489246Z 15:53:20.447 INFO - Load quality profiles
2016-04-01T13:53:20.7553157Z 15:53:20.614 INFO - Load quality profiles (done) | time=167ms
2016-04-01T13:53:20.7563196Z 15:53:20.620 INFO - Load active rules
2016-04-01T13:53:22.6338067Z 15:53:22.584 INFO - Load active rules (done) | time=1964ms
2016-04-01T13:53:22.6348044Z 15:53:22.597 WARN - SCM provider autodetection failed. No SCM provider claims to support this project. Please use sonar.scm.provider to define SCM of your project.
2016-04-01T13:53:22.6348044Z 15:53:22.597 INFO - Publish mode
2016-04-01T13:53:22.6348044Z 15:53:22.606 INFO - ------------- Scan ******.Tools.UrlNameSetterTests
2016-04-01T13:53:22.9419040Z 15:53:22.840 INFO - Load server rules
2016-04-01T13:53:23.1502914Z 15:53:23.109 INFO - Load server rules (done) | time=269ms
2016-04-01T13:53:23.2599703Z 15:53:23.202 INFO - Base dir: D:\TFS\Agents\_work\2\s\UrlNameSetter\Dev\******.Tools.UrlNameSetter\******.Tools.UrlNameSetterTests
2016-04-01T13:53:23.2599703Z 15:53:23.202 INFO - Working dir: D:\TFS\Agents\_work\2\.sonarqube\out\.sonar\******.Tools_******.Tools_2AAE705C-6532-43CC-AE13-50D0CAF50141
2016-04-01T13:53:23.2609672Z 15:53:23.204 INFO - Test paths: Properties/AssemblyInfo.cs, DealAndOrganisationTests.cs, UrlNameConversionTests.cs
2016-04-01T13:53:23.2609672Z 15:53:23.204 INFO - Source encoding: UTF-8, default locale: en_US
2016-04-01T13:53:23.2609672Z 15:53:23.205 INFO - Index files
2016-04-01T13:53:23.3616718Z 15:53:23.258 INFO - 3 files indexed
2016-04-01T13:53:23.3626689Z 15:53:23.267 INFO - Quality profile for cs: Sonar way
2016-04-01T13:53:24.1164564Z 15:53:23.921 INFO - JaCoCoSensor: JaCoCo report not found : D:\TFS\Agents\_work\2\s\UrlNameSetter\Dev\******.Tools.UrlNameSetter\******.Tools.UrlNameSetterTests\target\jacoco.exec
2016-04-01T13:53:24.1174530Z 15:53:23.921 INFO - JaCoCoItSensor: JaCoCo IT report not found: D:\TFS\Agents\_work\2\s\UrlNameSetter\Dev\******.Tools.UrlNameSetter\******.Tools.UrlNameSetterTests\target\jacoco-it.exec
2016-04-01T13:53:24.1184497Z 15:53:23.948 INFO - Sensor Lines Sensor
2016-04-01T13:53:24.1184497Z 15:53:23.948 INFO - Sensor Lines Sensor (done) | time=0ms
2016-04-01T13:53:24.1184497Z 15:53:23.948 INFO - Sensor QProfileSensor
2016-04-01T13:53:24.1214418Z 15:53:23.975 INFO - Sensor QProfileSensor (done) | time=27ms
2016-04-01T13:53:24.1214418Z 15:53:23.975 INFO - Sensor org.sonar.plugins.csharp.CSharpCodeCoverageProvider$CSharpCoverageReportImportSensor
2016-04-01T13:53:24.1214418Z 15:53:23.992 INFO - Parsing the Visual Studio coverage XML report D:\TFS\Agents\_work\2\TestResults\********_DENHELDER 2016-04-01 15_53_04\In\DENHELDER\********_DENHELDER 2016-04-01 15_53_01.coveragexml
2016-04-01T13:53:24.4265478Z 15:53:24.342 INFO - Sensor org.sonar.plugins.csharp.CSharpCodeCoverageProvider$CSharpCoverageReportImportSensor (done) | time=367ms
2016-04-01T13:53:24.4275513Z 15:53:24.342 INFO - Sensor SCM Sensor
2016-04-01T13:53:24.4275513Z 15:53:24.342 INFO - No SCM system was detected. You can use the 'sonar.scm.provider' property to explicitly specify it.
2016-04-01T13:53:24.4275513Z 15:53:24.342 INFO - Sensor SCM Sensor (done) | time=0ms
2016-04-01T13:53:24.4295382Z 15:53:24.342 INFO - Sensor Code Colorizer Sensor
2016-04-01T13:53:24.5412175Z 15:53:24.423 INFO - Sensor Code Colorizer Sensor (done) | time=80ms
2016-04-01T13:53:24.5412175Z 15:53:24.423 INFO - Sensor CPD Sensor
2016-04-01T13:53:24.5422081Z 15:53:24.423 INFO - DefaultCpdIndexer is used for cs
2016-04-01T13:53:24.5422081Z 15:53:24.423 INFO - Sensor CPD Sensor (done) | time=0ms
2016-04-01T13:53:24.5422081Z 15:53:24.424 INFO - ------------- Scan ******.Tools.UrlNameSetter
2016-04-01T13:53:24.5432050Z 15:53:24.449 INFO - Base dir: D:\TFS\Agents\_work\2\s\UrlNameSetter\Dev\******.Tools.UrlNameSetter\******.Tools.UrlNameSetter
2016-04-01T13:53:24.5432050Z 15:53:24.449 INFO - Working dir: D:\TFS\Agents\_work\2\.sonarqube\out\.sonar\******.Tools_******.Tools_B15194FA-CD32-45C0-AF33-0159CBB19695
2016-04-01T13:53:24.5432050Z 15:53:24.449 INFO - Source paths: UrlNameHelper.cs, Properties/AssemblyInfo.cs
2016-04-01T13:53:24.5442026Z 15:53:24.449 INFO - Source encoding: UTF-8, default locale: en_US
2016-04-01T13:53:24.5442026Z 15:53:24.449 INFO - Index files
2016-04-01T13:53:24.6449078Z 15:53:24.495 INFO - 2 files indexed
2016-04-01T13:53:24.6459034Z 15:53:24.495 INFO - Quality profile for cs: Sonar way
2016-04-01T13:53:24.6459034Z 15:53:24.515 INFO - All FxCop rules are disabled, skipping its execution.
2016-04-01T13:53:24.6459034Z 15:53:24.515 INFO - JaCoCoSensor: JaCoCo report not found : D:\TFS\Agents\_work\2\s\UrlNameSetter\Dev\******.Tools.UrlNameSetter\******.Tools.UrlNameSetter\target\jacoco.exec
2016-04-01T13:53:24.6469042Z 15:53:24.515 INFO - JaCoCoItSensor: JaCoCo IT report not found: D:\TFS\Agents\_work\2\s\UrlNameSetter\Dev\******.Tools.UrlNameSetter\******.Tools.UrlNameSetter\target\jacoco-it.exec
2016-04-01T13:53:24.6469042Z 15:53:24.517 INFO - Sensor Lines Sensor
2016-04-01T13:53:24.6469042Z 15:53:24.519 INFO - Sensor Lines Sensor (done) | time=2ms
2016-04-01T13:53:24.6478973Z 15:53:24.519 INFO - Sensor QProfileSensor
2016-04-01T13:53:24.6478973Z 15:53:24.519 INFO - Sensor QProfileSensor (done) | time=0ms
2016-04-01T13:53:24.6478973Z 15:53:24.519 INFO - Sensor org.sonar.plugins.csharp.CSharpSensor
2016-04-01T13:53:25.4116570Z 15:53:25.191 INFO - SonarLint for Visual Studio version 1.10.0.0
2016-04-01T13:53:25.6130664Z 15:53:25.424 INFO - 0/2 files analyzed, starting to analyze: D:\TFS\Agents\_work\2\s\UrlNameSetter\Dev\******.Tools.UrlNameSetter\******.Tools.UrlNameSetter\Properties\AssemblyInfo.cs
2016-04-01T13:53:26.5214017Z 15:53:26.447 INFO - 1/2 files analyzed, starting to analyze: D:\TFS\Agents\_work\2\s\UrlNameSetter\Dev\******.Tools.UrlNameSetter\******.Tools.UrlNameSetter\UrlNameHelper.cs
2016-04-01T13:53:26.7729445Z 15:53:26.658 INFO - Sensor org.sonar.plugins.csharp.CSharpSensor (done) | time=2139ms
2016-04-01T13:53:26.7876203Z 15:53:26.658 INFO - Sensor org.sonar.plugins.csharp.CSharpCodeCoverageProvider$CSharpCoverageReportImportSensor
2016-04-01T13:53:26.8344834Z 15:53:26.658 INFO - Parsing the Visual Studio coverage XML report D:\TFS\Agents\_work\2\TestResults\********_DENHELDER 2016-04-01 15_53_04\In\DENHELDER\********_DENHELDER 2016-04-01 15_53_01.coveragexml
2016-04-01T13:53:26.8454502Z 15:53:26.670 INFO - Sensor org.sonar.plugins.csharp.CSharpCodeCoverageProvider$CSharpCoverageReportImportSensor (done) | time=12ms
2016-04-01T13:53:26.8534260Z 15:53:26.670 INFO - Sensor SCM Sensor
2016-04-01T13:53:26.8544235Z 15:53:26.670 INFO - No SCM system was detected. You can use the 'sonar.scm.provider' property to explicitly specify it.
2016-04-01T13:53:26.8544235Z 15:53:26.670 INFO - Sensor SCM Sensor (done) | time=0ms
2016-04-01T13:53:26.8544235Z 15:53:26.670 INFO - Sensor Code Colorizer Sensor
2016-04-01T13:53:26.8554207Z 15:53:26.678 INFO - Sensor Code Colorizer Sensor (done) | time=8ms
2016-04-01T13:53:26.8554207Z 15:53:26.678 INFO - Sensor CPD Sensor
2016-04-01T13:53:26.8564173Z 15:53:26.679 INFO - DefaultCpdIndexer is used for cs
2016-04-01T13:53:26.9591176Z 15:53:26.718 INFO - Sensor CPD Sensor (done) | time=40ms
2016-04-01T13:53:26.9601149Z 15:53:26.719 INFO - ------------- Scan UrlNameSetter
2016-04-01T13:53:26.9601149Z 15:53:26.732 INFO - Base dir: D:\TFS\Agents\_work\2\s
2016-04-01T13:53:26.9601149Z 15:53:26.732 INFO - Working dir: D:\TFS\Agents\_work\2\.sonarqube\out\.sonar
2016-04-01T13:53:26.9611114Z 15:53:26.732 INFO - Source encoding: UTF-8, default locale: en_US
2016-04-01T13:53:26.9611114Z 15:53:26.746 INFO - JaCoCoSensor: JaCoCo report not found : D:\TFS\Agents\_work\2\s\target\jacoco.exec
2016-04-01T13:53:26.9611114Z 15:53:26.746 INFO - JaCoCoItSensor: JaCoCo IT report not found: D:\TFS\Agents\_work\2\s\target\jacoco-it.exec
2016-04-01T13:53:26.9621086Z 15:53:26.748 INFO - Sensor Lines Sensor
2016-04-01T13:53:26.9621086Z 15:53:26.748 INFO - Sensor Lines Sensor (done) | time=0ms
2016-04-01T13:53:26.9621086Z 15:53:26.748 INFO - Sensor SCM Sensor
2016-04-01T13:53:26.9621086Z 15:53:26.748 INFO - No SCM system was detected. You can use the 'sonar.scm.provider' property to explicitly specify it.
2016-04-01T13:53:26.9631057Z 15:53:26.748 INFO - Sensor SCM Sensor (done) | time=0ms
2016-04-01T13:53:26.9631057Z 15:53:26.748 INFO - Sensor Code Colorizer Sensor
2016-04-01T13:53:26.9631057Z 15:53:26.748 INFO - Sensor Code Colorizer Sensor (done) | time=0ms
2016-04-01T13:53:26.9641027Z 15:53:26.748 INFO - Sensor CPD Sensor
2016-04-01T13:53:26.9641027Z 15:53:26.748 INFO - Sensor CPD Sensor (done) | time=0ms
2016-04-01T13:53:26.9641027Z 15:53:26.866 INFO - Analysis report generated in 103ms, dir size=46 KB
2016-04-01T13:53:26.9651084Z 15:53:26.882 INFO - Analysis reports compressed in 16ms, zip size=18 KB
2016-04-01T13:53:27.4746044Z 15:53:27.205 INFO - Analysis report uploaded in 322ms
2016-04-01T13:53:27.4746044Z 15:53:27.206 INFO - ANALYSIS SUCCESSFUL, you can browse http://sonarqube:9000/dashboard/index/******.Tools
2016-04-01T13:53:27.4756021Z 15:53:27.206 INFO - Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
2016-04-01T13:53:27.4756021Z 15:53:27.206 INFO - More about the report processing at http://sonarqube:9000/api/ce/task?id=AVPSGZxz3AQs4Fy3Ol1M
2016-04-01T13:53:27.5842827Z INFO: ------------------------------------------------------------------------
2016-04-01T13:53:27.5852796Z INFO: EXECUTION SUCCESS
2016-04-01T13:53:27.5852796Z INFO: ------------------------------------------------------------------------
2016-04-01T13:53:27.5852796Z Total time: 13.674s
2016-04-01T13:53:27.5862785Z Final Memory: 11M/249M
2016-04-01T13:53:27.5862785Z INFO: ------------------------------------------------------------------------
2016-04-01T13:53:27.5862785Z The SonarQube Scanner has finished
2016-04-01T13:53:27.5872738Z 15:53:27.529 Creating a summary markdown file...
2016-04-01T13:53:27.5872738Z 15:53:27.53 Analysis results: http://sonarqube:9000/dashboard/index/******.Tools
2016-04-01T13:53:27.5872738Z Post-processing succeeded.
2016-04-01T13:53:27.6012315Z The build was not set to fail if the associated quality gate fails.
UrlNameSetter\Dev\******.Tools.UrlNameSetter\******.Tools.UrlNameSetter\UrlNameHelper.cs(31,13): Warning S1067: Reduce the number of conditional operators (4) used in the expression (maximum allowed 3).
2>UrlNameHelper.cs(31,13): warning S1067: Reduce the number of conditional operators (4) used in the expression (maximum allowed 3). [D:\TFS\Agents\Agent-47\_work\4\s\UrlNameSetter\Dev\******.Tools.UrlNameSetter\******.Tools.UrlNameSetter\******.Tools.UrlNameSetter.csproj]
最佳答案
感谢@fluf,我们发现visual studio 2015 update 2 的安装导致了这些问题。
这里的根本问题仍然是未知的,但它现在正在起作用。
解决方法:
删除 Visual Studio 2015 的更新 2 安装并将其替换为更新 1 或没有更新的更新。
两者都可以很好地执行构建并在 TFS 中生成代码覆盖率文件。
关于.net - Sonarqube 没有注册任何 c# 问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36401757/
我找到了 Using SonarQube in Eclipse 并将提出一个针对 Python 的单独问题。但在这里我想更一般地询问如何在提交之前处理单个源文件时,如何使用 SonarQube 作为
我们之前在现已关闭的 SonarQube Users mailing list 上讨论过这个问题. 通过优化Postgre DB换了半周左右问题解决,然后又出现问题。 我们正在使用 Jenkins 1
自从更新到5.x以来,由于“权限不足”问题,我们的许多构建作业现在都失败了。如here中所述,应该在SonarQube 5.1中解决该问题,但实际上它没有得到解决,或者存在另一个与我们当前运行Sona
我已经有一段时间没有看过 SonarQube 了。最新版本看起来很有趣。 上次我查看这个产品时,他们有一个网站,他们通过 SonarQube 进程推送了各种流行的开源库(如 Tomcat、Active
在 SonarQube (5.6.4 LTS) 中有一个后台(项目分析)任务可视化的 View :(管理/项目/后台任务)。似乎任务是按顺序运行的(一次一个)。有些任务可能需要 40 分钟,这意味着其
今天我正在用 mysqldump 备份 MySQL,但我不确定是否需要从/opt/sonar 保存一些文件。请你能帮我一些指示吗? 除了 MySQL,我还需要在 Sonar 中备份什么? 最佳答案 我
我们希望每个用户都能收到一封关于他们在此分析中引入的新问题的电子邮件。 我在这里找到了这个请求,说它应该已经成为可能: http://jira.sonarsource.com/browse/SONAR
是否可以从一个项目导出代码覆盖率和 sonarqube 问题的排除项并导入到其他项目? 最佳答案 排除项是项目属性,因此您可以使用 /api/properties Web 服务自动从一个项目获取这些属
当 Sonar 抛出一个特定的编码规则违规时,开发人员(或就此而言任何授权用户)如何忽略它?假设弹出一条规则“不遵循文件命名约定”,有没有办法可以将其声明为误报并单击某个按钮以确保不会显示该编码规则违
我希望更改规则“左花括号应位于代码行的末尾”,因为我们使用了不同的约定。 提前致谢! 最佳答案 由于 Sonarqube 打算在规则上提供尽可能少的配置:您应该使用 key squid:LeftCur
我正在寻找一种在 SonarQube 中组织项目的方法,并发现我必须为此付费:http://www.sonarqube.org/bring-a-new-dimension-to-sonar-with-
SonarQube Server 5.1.2, Sonar-Runner 2.4 正如 Multi-moduleProject 中提供的那样我创建了一个项目结构 Accounts | ->invoic
在 SonarQube 的 Web UI 中,您可以根据多个条件过滤问题。但似乎没有一个是可以否定的。 我喜欢找出所有关键问题,即 不是 规则xyz。我目前从 Web UI 中只能看到选择我喜欢看的东
我已经设置了一个 jenkins-sonarqube-github 集成工作流程,其中 git 存储库中的拉取请求会触发一个 webhook,该 webhook 会启动一个 jenkins 作业,该作
有没有人设法让 SonarQube 与 Upsource 合作?我已经为 SonarQube 下载了 upsource-sonar-plugin-0.1-SNAPSHOT.jar 插件,并在我通过/s
我正在使用JaCoCo进行代码覆盖。单元测试报告是使用junit创建的,并且已正确导入,因此可以正确显示单元测试信息。 问题是,我收到错误消息: 没有有关每次测试的覆盖率的信息。 ,代码覆盖率显示单元
我有一个 Sonarcloud 帐户,我正在尝试使用 SonarQube.Scanner.MSBuild.exe 分析 Visual Studio 解决方案。我创建了一个 token 并将其作为 So
似乎有最新版本的新规则可用。 我有几个问题报告为“应正确使用 Printf 样式的格式字符串 (squid:S3457)” 我不明白 my case 中的描述和错误是什么: LOGGER.info("
这个问题我看了很多帖子,但是没找到答案所以才问。我将 Sonarqube 从 4.5 升级到 5.6,它工作正常,但质量配置文件是空的。我尝试使用备份/恢复选项恢复一个,但规则被忽略: image .
我实现了 SonarQube在服务器上,我做了大部分配置 远程 .因此,无论何时安装插件,都会重新启动 SonarQube是必需的,每次我都必须显式(手动)重启 SonarQube服务器 . 有没有办
我是一名优秀的程序员,十分优秀!