1. <small id='pv3eK'></small><noframes id='pv3eK'>

    2. <legend id='pv3eK'><style id='pv3eK'><dir id='pv3eK'><q id='pv3eK'></q></dir></style></legend>
      • <bdo id='pv3eK'></bdo><ul id='pv3eK'></ul>
      <tfoot id='pv3eK'></tfoot>
    3. <i id='pv3eK'><tr id='pv3eK'><dt id='pv3eK'><q id='pv3eK'><span id='pv3eK'><b id='pv3eK'><form id='pv3eK'><ins id='pv3eK'></ins><ul id='pv3eK'></ul><sub id='pv3eK'></sub></form><legend id='pv3eK'></legend><bdo id='pv3eK'><pre id='pv3eK'><center id='pv3eK'></center></pre></bdo></b><th id='pv3eK'></th></span></q></dt></tr></i><div id='pv3eK'><tfoot id='pv3eK'></tfoot><dl id='pv3eK'><fieldset id='pv3eK'></fieldset></dl></div>

      1. SonarQube MSBuild 无法排除文件

        SonarQube MSBuild fails to exclude files(SonarQube MSBuild 无法排除文件)
        <legend id='EzPI6'><style id='EzPI6'><dir id='EzPI6'><q id='EzPI6'></q></dir></style></legend>

        <tfoot id='EzPI6'></tfoot>

            <tbody id='EzPI6'></tbody>
              <bdo id='EzPI6'></bdo><ul id='EzPI6'></ul>
              • <small id='EzPI6'></small><noframes id='EzPI6'>

                1. <i id='EzPI6'><tr id='EzPI6'><dt id='EzPI6'><q id='EzPI6'><span id='EzPI6'><b id='EzPI6'><form id='EzPI6'><ins id='EzPI6'></ins><ul id='EzPI6'></ul><sub id='EzPI6'></sub></form><legend id='EzPI6'></legend><bdo id='EzPI6'><pre id='EzPI6'><center id='EzPI6'></center></pre></bdo></b><th id='EzPI6'></th></span></q></dt></tr></i><div id='EzPI6'><tfoot id='EzPI6'></tfoot><dl id='EzPI6'><fieldset id='EzPI6'></fieldset></dl></div>

                  本文介绍了SonarQube MSBuild 无法排除文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在 debian 上使用 msbuild 运行分析,使用以下命令:

                  I am running an analysis using msbuild on debian, using the following command:

                   mono /msbuild/SonarQube.Scanner.MSBuild.exe begin /d:sonar.login=<sonarqubetoken> /d:sonar.host.url=https://<my-server> /d:sonar.exclusions=test/**/* /k:<my-project-key>
                  

                  然而end命令中:

                  INFO: Index files
                  INFO: Excluded sources: 
                  INFO:   test/**/*
                  INFO: 17 files indexed
                  INFO: 0 files ignored because of inclusion/exclusion patterns
                  INFO: Quality profile for cs: Sonar way
                  INFO: Excluded sources for coverage: 
                  INFO:   test/**
                  

                  我服务器的 UI 上的分析包括 test/ 文件夹中的文件.

                  and the analysis on the UI of my server includes files from test/ folder.

                  为什么忽略特定文件失败?

                  Why does it fail to ignore the specific files?

                  使用 SonarQube 6.7sonar-scanner:3.3

                  推荐答案

                  我设法解决这种情况的唯一方法是将以下行添加到我项目的 .csproj 文件中想要排除

                  The only way I have managed to get around this situation is by adding the following line to the .csproj file of the projects I want excluded

                  <!-- Exclude the project from SonarQube analysis -->
                  <SonarQubeExclude>true</SonarQubeExclude>
                  

                  这篇关于SonarQube MSBuild 无法排除文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Adding and removing users from Active Directory groups in .NET(在 .NET 中的 Active Directory 组中添加和删除用户)
                  set equality in linq(在 linq 中设置相等)
                  HashSet conversion to List(HashSet 转换为 List)
                  How to set timeout for webBrowser navigate event(如何为 webBrowser 导航事件设置超时)
                  Test whether two IEnumerablelt;Tgt; have the same values with the same frequencies(测试两个IEnumerablelt;Tgt;具有相同频率的相同值)
                  How do you determine if two HashSets are equal (by value, not by reference)?(您如何确定两个 HashSet 是否相等(按值,而不是按引用)?)

                    <bdo id='D4mZQ'></bdo><ul id='D4mZQ'></ul>
                      <tbody id='D4mZQ'></tbody>
                      1. <small id='D4mZQ'></small><noframes id='D4mZQ'>

                          <i id='D4mZQ'><tr id='D4mZQ'><dt id='D4mZQ'><q id='D4mZQ'><span id='D4mZQ'><b id='D4mZQ'><form id='D4mZQ'><ins id='D4mZQ'></ins><ul id='D4mZQ'></ul><sub id='D4mZQ'></sub></form><legend id='D4mZQ'></legend><bdo id='D4mZQ'><pre id='D4mZQ'><center id='D4mZQ'></center></pre></bdo></b><th id='D4mZQ'></th></span></q></dt></tr></i><div id='D4mZQ'><tfoot id='D4mZQ'></tfoot><dl id='D4mZQ'><fieldset id='D4mZQ'></fieldset></dl></div>
                        • <legend id='D4mZQ'><style id='D4mZQ'><dir id='D4mZQ'><q id='D4mZQ'></q></dir></style></legend>

                            <tfoot id='D4mZQ'></tfoot>