简体   繁体   English

分析属性中声纳属性文件中的排除

[英]Exclusion in sonar property file also in Analysis properties

How to add exclusions in sonar "Analysis properties" in jenkins even exclusion available in sonar property file. 如何在jenkins的声纳中添加排除项“分析属性”,甚至在声纳属性文件中也提供排除项。

We have exclusions in property file, and we added exclusion in "Analysis properties" in jenkins. 我们在属性文件中有排除项,并在詹金斯的“分析属性”中添加了排除项。 But while scanning it is excluding only the files given in "Analysis properties", but not from the property file. 但是在扫描时,它仅排除“分析属性”中给定的文件,而不是从属性文件中排除。

we want the exclusion given both in Property file as well as from the "Analysis properties" field. 我们希望在属性文件以及“分析属性”字段中都提供排除项。

Please help. 请帮忙。

Properties are not cumulative. 属性不是累积的。 As described at the top of this page , there is a fallback structure and the first-found value is the one that's used from this order of checking: 本页顶部所述,有一个后备结构,第一个找到的值是按以下检查顺序使用的值:

  • command line 命令行
  • properties file 属性文件
  • project-level properties defined in the UI 用户界面中定义的项目级属性
  • global-level properties 全局级别的属性

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM