Sonarqube 7.3上的Sonar.exclusions无法正常工作

时间:2018-11-29 16:45:32

标签: sonarqube sonarqube-scan

我在管理上设置了sonar.exclusions->分析范围 sonar.exclusions = SharpSerializer.Library/**/*

但是分析报告仍然具有文件夹结构,并且构建输出具有“由于包含/排除模式而忽略了0个文件”

INFO: -------------  Scan SharpSerializer.Library
INFO: Base dir: C:\TG_Sonar\WebApps\API\Valiant.Serializer\SharpSerializer.Library
INFO: Working dir: C:\TG_Sonar\.sonarqube\out\.sonar\Development_CommonRepo_Development_CommonRepo_88AB738F-7A36-4C93-B808-B6CE2D3444B2
INFO: Source paths: Advanced/BinaryPropertyDeserializer.cs, Advanced/BinaryPropertySerializer.cs, Advanced/DefaultXmlReader.cs, Advanced/DefaultXmlWriter.cs, Advanced/Mapping/ITypeConversionMap.cs, Advanced/Mapping/MappedXmlReader.cs, Advanced/Mapping/MappedXmlWriter.cs, Advanced/Mapping/Mapping.cs, Advanced/Mapping/TypeConversionMap.cs, Advanced/PropertyCache.cs, Core/ArrayAnalyzer.cs, BinarySerializationMode.cs, Core/Binary/Elements.cs, Core/DefaultInitializer.cs, Core/Binary/IndexGenerator.cs, Core/CreatingInstanceException.cs, Advanced/Xml/ISimpleValueConverter.cs, Core/Binary/BinaryReaderTools.cs, Advanced/Xml/IXmlReader.cs, Advanced/SizeOptimizedBinaryReader.cs, Advanced/BurstBinaryReader.cs, Core/Binary/BinaryWriterTools.cs, Advanced/BurstBinaryWriter.cs, Advanced/Binary/IBinaryReader.cs, Advanced/Binary/IBinaryWriter.cs, Advanced/Xml/IXmlWriter.cs, Core/DeserializingException.cs, Serializing/PropertyTypeInfo.cs, Serializing/TypeInfoCollection.cs, Serializing/TypeInfoHelpers.cs, Serializing/TypePerformanceHelper.cs, SharpSerializerBinarySettings.cs, SharpSerializerXmlSettings.cs, Advanced/Serializing/ITypeNameConverter.cs, Advanced/PropertyProvider.cs, Advanced/XmlPropertyDeserializer.cs, Advanced/XmlPropertySerializer.cs, Advanced/SizeOptimizedBinaryWriter.cs, Advanced/TypeNameConverter.cs, Advanced/SimpleValueConverter.cs, Core/Tools.cs, Core/Xml/Elements.cs, Advanced/Deserializing/IPropertyDeserializer.cs, Deserializing/ObjectFactory.cs, Core/SimpleValueParsingException.cs, ExcludeFromSerializationAttribute.cs, Properties/AssemblyInfo.cs, Core/Property.cs, Advanced/Serializing/IPropertySerializer.cs, Serializing/PropertyFactory.cs, Serializing/TypeInfo.cs, Advanced/Serializing/PropertySerializer.cs, SharpSerializer.cs, Core/SharpSerializerSettings.cs, key.snk
INFO: Source encoding: UTF-8, default locale: en_US
INFO: Index files
INFO: Excluded sources: 
INFO:   **/packages/**
INFO:   **/Automation/**
INFO:   **/node_modules/**
INFO:   **/.git/**
INFO:   **/bin/**
INFO:   **/obj/**
INFO:   **/SharedDependencies/**
INFO:   **/content/**
INFO:   **/*.js
INFO:   **/*.xml
INFO:   **/*.xlsx
INFO:   **/*.nupkg
INFO:   **/*.csdl
INFO:   **/*.msl
INFO:   **/*.ssdl
INFO:   **/CreateClientFromSaasHr/**
INFO:   **/*.dconfig
INFO:   **/*.config
INFO:   **/Auto-Generated/**
INFO:   /AltovaXML/**
INFO:   /FluentMigrator/**
INFO:   /NPOI/**
INFO:   **/Libraries.External.PCBest_Call_Generator/**
INFO:   **/Libraries.External.PCBest_Call_Generator/**
INFO:   SharpSerializer.Library/**/*
INFO:   **/Valiant.Services.Data.Migrations/**/000000*.cs
INFO:   Valiant.Schema.Tests/**/*
INFO: 55 files indexed
INFO: 0 files ignored because of inclusion/exclusion patterns

0 个答案:

没有答案