1
我们目前正在使用Sonarqube 4.5.7(SonarQube扫描仪为MSBuild 2.1)与Nunit和Opencover。测试执行成功并且仪表板中的指标正确报告。但在声纳仪表板覆盖部分是空白的,并覆盖XML显示“模块skippedDueTo =” MissingPdb“”我的应用程序模块Sonareqube覆盖opencover和Nunit
下面是配置我在詹金斯
"C:\Program Files (x86)\MSBuild\14.0\Bin\msbuild.exe" sample\app.sln /t:Rebuild /p:Configuration=Debug
"C:\Program Files (x86)\OpenCover\OpenCover.Console.exe" -register:user -targetdir:"…\sample\app.Tests\app.Correction\bin\Debug" -target:"C:\Program Files (x86)\NUnit 2.6.4\bin\nunit-console.exe" -targetargs:" …\sample\app.Tests\app.Correction\bin\Debug \app.dll /nologo /noshadow" -output:coverage.report.xml
app.dll是什么类型的项目? –
对不起,晚起反应。它是使用.NETFramework v4.5的Dotnet应用程序 – Coc